fix typo in log message

This commit is contained in:
Brian Gough 2017-10-02 15:45:09 +01:00
parent 392e96b81d
commit 3c937ce2d4

View file

@ -30,6 +30,6 @@ module.exports = TikzManager =
return callback(error) if error? return callback(error) if error?
fs.readFile path, "utf8", (error, content) -> fs.readFile path, "utf8", (error, content) ->
return callback(error) if error? return callback(error) if error?
logger.log compileDir: compileDir, mainFile: mainFile, "copied file to ouput.tex for tikz" logger.log compileDir: compileDir, mainFile: mainFile, "copied file to output.tex for tikz"
# use wx flag to ensure that output file does not already exist # use wx flag to ensure that output file does not already exist
fs.writeFile Path.join(compileDir, "output.tex"), content, {flag:'wx'}, callback fs.writeFile Path.join(compileDir, "output.tex"), content, {flag:'wx'}, callback