add missing argument parameter to wordcount call

This commit is contained in:
Brian Gough
2016-08-11 09:29:03 +01:00
parent e66b1ecdea
commit ade3da7e0d

View File

@@ -231,7 +231,7 @@ module.exports = CompileManager =
timeout = 10 * 1000 timeout = 10 * 1000
compileName = getCompileName(project_id, user_id) compileName = getCompileName(project_id, user_id)
CommandRunner.run compileName, command, directory, image, timeout, (error) -> CommandRunner.run compileName, command, directory, image, timeout, {}, (error) ->
return callback(error) if error? return callback(error) if error?
try try
stdout = fs.readFileSync(directory + "/" + file_name + ".wc", "utf-8") stdout = fs.readFileSync(directory + "/" + file_name + ".wc", "utf-8")