@@ -37,8 +37,8 @@ tasks.push(function(done) {
37
37
standalone : 'Plotly' ,
38
38
pathToMinBundle : pathToPlotlyDistMin
39
39
} , 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 ) ;
42
42
43
43
done ( ) ;
44
44
} ) ;
@@ -50,8 +50,8 @@ tasks.push(function(done) {
50
50
standalone : 'Plotly' ,
51
51
pathToMinBundle : pathToPlotlyStrictDistMin
52
52
} , 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 ) ;
55
55
56
56
done ( ) ;
57
57
} ) ;
@@ -62,7 +62,7 @@ tasks.push(function(done) {
62
62
_bundle ( pathToPlotlyGeoAssetsSrc , pathToPlotlyGeoAssetsDist , {
63
63
standalone : 'PlotlyGeoAssets'
64
64
} , function ( ) {
65
- prependFile ( pathToPlotlyGeoAssetsDist , header , common . throwOnError ) ;
65
+ prependFile . sync ( pathToPlotlyGeoAssetsDist , header , common . throwOnError ) ;
66
66
67
67
done ( ) ;
68
68
} ) ;
@@ -74,7 +74,7 @@ tasks.push(function(done) {
74
74
standalone : 'Plotly' ,
75
75
noCompress : true
76
76
} , function ( ) {
77
- prependFile ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
77
+ prependFile . sync ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
78
78
79
79
done ( ) ;
80
80
} ) ;
0 commit comments