Skip to content

Commit

Permalink
Fix generated file would not link to the script instance correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
arximboldi committed Jun 3, 2015
1 parent 0bde438 commit bf4b3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.litcoffee
Expand Up @@ -278,7 +278,7 @@ extension for the main script, where `mixco.script.register` is called.
\nMIXCO_SCRIPT_FILENAME = '#{file.path}';\n\n
"""
append = new Buffer """
\n#{scriptName_} = require('#{moduleName_}');
\n#{scriptName_} = require('#{moduleName_}').#{scriptName_};
/* End of Mixco generated script */
"""
finish = (err, res) ->
Expand Down

0 comments on commit bf4b3a4

Please sign in to comment.