Skip to content

Commit

Permalink
Merge pull request #277 from grandquista/patch-1
Browse files Browse the repository at this point in the history
fix reference error in compileScript
  • Loading branch information
timaschew committed Apr 9, 2014
2 parents feaccfb + 75a77aa commit af2db18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/lib/command.js.coffee
Expand Up @@ -156,7 +156,7 @@ compileScript = ( fname ) ->
compiled_code = js2coffee.build(code.toString(),options)
console.log compiled_code
catch err
console.warn err instanceof Error and err.stack or "ERROR: #{err} while compiling #{file}"
console.warn err instanceof Error and err.stack or "ERROR: #{err} while compiling #{fname}"
exit 1 if options.stop_on_error

compileFromStdin = ->
Expand Down

0 comments on commit af2db18

Please sign in to comment.