diff options
author | Matt Godbolt <matt@godbolt.org> | 2017-11-21 22:52:53 -0600 |
---|---|---|
committer | Matt Godbolt <matt@godbolt.org> | 2017-11-21 22:52:58 -0600 |
commit | e55b9138bc4615d6e2060d91125d04591d88c4e5 (patch) | |
tree | 1d9e2cb9f73b63ed3c149c937ae5eebeda0a4656 /lib/compile-handler.js | |
parent | cf407a85ef98e4d4b50ffeb21a40e3b2e5832b78 (diff) | |
download | compiler-explorer-e55b9138bc4615d6e2060d91125d04591d88c4e5.tar.gz compiler-explorer-e55b9138bc4615d6e2060d91125d04591d88c4e5.zip |
Add separate jshint configs for client and server. Make them much more strict, and fix up the issues brought up
Diffstat (limited to 'lib/compile-handler.js')
-rw-r--r-- | lib/compile-handler.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compile-handler.js b/lib/compile-handler.js index 6d2ffd16c..60cc951e7 100644 --- a/lib/compile-handler.js +++ b/lib/compile-handler.js @@ -114,7 +114,7 @@ function CompileHandler(gccProps, compilerProps) { var textBanner = compilerProps('textBanner'); this.handler = _.bind(function compile(req, res, next) { - var source, options, filters, compiler; + var source, options, backendOptions, filters, compiler; if (req.is('json')) { // JSON-style request compiler = this.compilersById[req.compiler || req.body.compiler]; @@ -187,7 +187,7 @@ function CompileHandler(gccProps, compilerProps) { if (!_.isEmpty(result.stderr)) res.write("\nStandard error:\n" + textify(result.stderr)); } catch (ex) { Raven.captureException(ex, {req: req}); - re.write("Error handling request: " + ex); + res.write("Error handling request: " + ex); } res.end('\n'); } |