@@ -29,7 +29,8 @@ var thirdParty = "ThirdPartyNoticeText.txt";
29
29
var nodeModulesPathPrefix = path . resolve ( "./node_modules/.bin/" ) + path . delimiter ;
30
30
if ( process . env . path !== undefined ) {
31
31
process . env . path = nodeModulesPathPrefix + process . env . path ;
32
- } else if ( process . env . PATH !== undefined ) {
32
+ }
33
+ else if ( process . env . PATH !== undefined ) {
33
34
process . env . PATH = nodeModulesPathPrefix + process . env . PATH ;
34
35
}
35
36
@@ -312,13 +313,15 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, opts
312
313
if ( useDebugMode ) {
313
314
if ( opts . inlineSourceMap ) {
314
315
options += " --inlineSourceMap --inlineSources" ;
315
- } else {
316
+ }
317
+ else {
316
318
options += " -sourcemap" ;
317
319
if ( ! opts . noMapRoot ) {
318
320
options += " -mapRoot file:///" + path . resolve ( path . dirname ( outFile ) ) ;
319
321
}
320
322
}
321
- } else {
323
+ }
324
+ else {
322
325
options += " --newLine LF" ;
323
326
}
324
327
@@ -748,7 +751,8 @@ function exec(cmd, completeHandler, errorHandler) {
748
751
ex . addListener ( "error" , function ( e , status ) {
749
752
if ( errorHandler ) {
750
753
errorHandler ( e , status ) ;
751
- } else {
754
+ }
755
+ else {
752
756
fail ( "Process exited with code " + status ) ;
753
757
}
754
758
} ) ;
@@ -1021,7 +1025,8 @@ function acceptBaseline(sourceFolder, targetFolder) {
1021
1025
if ( filename . substr ( filename . length - deleteEnding . length ) === deleteEnding ) {
1022
1026
filename = filename . substr ( 0 , filename . length - deleteEnding . length ) ;
1023
1027
fs . unlinkSync ( path . join ( targetFolder , filename ) ) ;
1024
- } else {
1028
+ }
1029
+ else {
1025
1030
var target = path . join ( targetFolder , filename ) ;
1026
1031
if ( fs . existsSync ( target ) ) {
1027
1032
fs . unlinkSync ( target ) ;
0 commit comments