@@ -37,8 +37,8 @@ tasks.push(function(done) {
3737 standalone : 'Plotly' ,
3838 pathToMinBundle : pathToPlotlyDistMin
3939 } , function ( ) {
40- prependFile ( pathToPlotlyDist , header , common . throwOnError ) ;
41- prependFile ( pathToPlotlyDistMin , header , common . throwOnError ) ;
40+ prependFile . sync ( pathToPlotlyDist , header , common . throwOnError ) ;
41+ prependFile . sync ( pathToPlotlyDistMin , header , common . throwOnError ) ;
4242
4343 done ( ) ;
4444 } ) ;
@@ -50,8 +50,8 @@ tasks.push(function(done) {
5050 standalone : 'Plotly' ,
5151 pathToMinBundle : pathToPlotlyStrictDistMin
5252 } , function ( ) {
53- prependFile ( pathToPlotlyStrictDist , header , common . throwOnError ) ;
54- prependFile ( pathToPlotlyStrictDistMin , header , common . throwOnError ) ;
53+ prependFile . sync ( pathToPlotlyStrictDist , header , common . throwOnError ) ;
54+ prependFile . sync ( pathToPlotlyStrictDistMin , header , common . throwOnError ) ;
5555
5656 done ( ) ;
5757 } ) ;
@@ -62,7 +62,7 @@ tasks.push(function(done) {
6262 _bundle ( pathToPlotlyGeoAssetsSrc , pathToPlotlyGeoAssetsDist , {
6363 standalone : 'PlotlyGeoAssets'
6464 } , function ( ) {
65- prependFile ( pathToPlotlyGeoAssetsDist , header , common . throwOnError ) ;
65+ prependFile . sync ( pathToPlotlyGeoAssetsDist , header , common . throwOnError ) ;
6666
6767 done ( ) ;
6868 } ) ;
@@ -74,7 +74,7 @@ tasks.push(function(done) {
7474 standalone : 'Plotly' ,
7575 noCompress : true
7676 } , function ( ) {
77- prependFile ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
77+ prependFile . sync ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
7878
7979 done ( ) ;
8080 } ) ;
0 commit comments