File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
core-build/gulp-core-build-sass/src Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ export class SassTask extends GulpTask<ISassTaskConfig> {
195
195
const cleanCss : CleanCss = new CleanCss ( cleanCssOptions ) ;
196
196
return cleanCss . minify ( result . css . toString ( ) ) ;
197
197
} ) . then ( ( result : CleanCss . Output ) => {
198
+ try {
198
199
if ( cssOutputPathAbsolute ) {
199
200
const generatedFileLines : string [ ] = [
200
201
result . styles . toString ( )
@@ -285,7 +286,12 @@ export class SassTask extends GulpTask<ISassTaskConfig> {
285
286
. replace ( new RegExp ( `(${ EOL } )+$` , 'm' ) , EOL )
286
287
) ;
287
288
289
+ this . log ( `Writing ${ scssTsOutputPath } ` ) ;
288
290
FileSystem . writeFile ( scssTsOutputPath , generatedTsFile ) ;
291
+ this . log ( `Wrote ${ scssTsOutputPath } ` ) ;
292
+ } catch ( e ) {
293
+ this . log ( 'ERROR ' + e ) ;
294
+ }
289
295
} ) ;
290
296
}
291
297
You can’t perform that action at this time.
0 commit comments