File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ tasks.push(function(done) {
7575 } , function ( ) {
7676 prependFile ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
7777
78- makeSchema ( pathToPlotlyDistWithMeta , pathToSchema ) ( ) ;
78+ makeSchema ( pathToPlotlyDistWithMeta , pathToSchema ) ;
7979 done ( ) ;
8080 } ) ;
8181} ) ;
Original file line number Diff line number Diff line change @@ -3,13 +3,11 @@ var path = require('path');
33var plotlyNode = require ( './plotly_node' ) ;
44
55module . exports = function makeSchema ( plotlyPath , schemaPath ) {
6- return function ( ) {
7- var Plotly = plotlyNode ( plotlyPath ) ;
6+ var Plotly = plotlyNode ( plotlyPath ) ;
87
9- var plotSchema = Plotly . PlotSchema . get ( ) ;
10- var plotSchemaStr = JSON . stringify ( plotSchema , null , 1 ) ;
11- fs . writeFileSync ( schemaPath , plotSchemaStr ) ;
8+ var plotSchema = Plotly . PlotSchema . get ( ) ;
9+ var plotSchemaStr = JSON . stringify ( plotSchema , null , 1 ) ;
10+ fs . writeFileSync ( schemaPath , plotSchemaStr ) ;
1211
13- console . log ( 'ok ' + path . basename ( schemaPath ) ) ;
14- } ;
12+ console . log ( 'ok ' + path . basename ( schemaPath ) ) ;
1513} ;
You can’t perform that action at this time.
0 commit comments