typo
This commit is contained in:
parent
d9fba94983
commit
ee1c9b284a
|
@ -83,7 +83,7 @@
|
|||
return puts(result.replace(/\n/g, ''));
|
||||
}
|
||||
});
|
||||
jsl.addListener('errror', function(result) {
|
||||
jsl.addListener('error', function(result) {
|
||||
if (result) {
|
||||
return puts(result);
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ exports.lint: (js) ->
|
|||
jsl: process.createChildProcess('jsl', ['-nologo', '-stdin'])
|
||||
jsl.addListener 'output', (result) ->
|
||||
puts result.replace(/\n/g, '') if result
|
||||
jsl.addListener 'errror', (result) ->
|
||||
jsl.addListener 'error', (result) ->
|
||||
puts result if result
|
||||
jsl.write js
|
||||
jsl.close()
|
||||
|
|
Loading…
Reference in New Issue