added comment to leave semicolon off of last line.
This commit is contained in:
parent
c3db7a4314
commit
d59b0682de
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,7 @@ When resolving module names to file paths, ScriptCraft uses the following rules.
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw new Error( "Error executing module " + path
|
throw new Error( "Error executing module " + path
|
||||||
+ " line #" + e.lineNumber
|
+ " line #" + e.lineNumber
|
||||||
+ " : " + e.message, canonizedFilename, e.lineNumber )
|
+ " : " + e.message, canonizedFilename, e.lineNumber );
|
||||||
}
|
}
|
||||||
if ( hooks ) {
|
if ( hooks ) {
|
||||||
hooks.loaded( canonizedFilename );
|
hooks.loaded( canonizedFilename );
|
||||||
|
@ -283,4 +283,5 @@ When resolving module names to file paths, ScriptCraft uses the following rules.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
return _requireClosure( new java.io.File(rootDir) );
|
return _requireClosure( new java.io.File(rootDir) );
|
||||||
|
// last line deliberately has no semicolon!
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue