Skip to content

Commit

Permalink
Merge pull request #5 from justinwoo/fix-make-module
Browse files Browse the repository at this point in the history
apparently nested modules are just identifiers
  • Loading branch information
justinwoo authored Oct 19, 2018
2 parents 52a6601 + bf8308c commit 3357f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ run (Bundle withMain mModuleName mTargetPath) = do
run (MakeModule mModuleName mTargetPath) = do
let
(moduleName, targetPath) = prepareBundleDefaults mModuleName mTargetPath
cmd = "echo 'module.exports = PS."<> moduleName <> ";' >> " <> targetPath
cmd = "echo 'module.exports = PS[\""<> moduleName <> "\"];' >> " <> targetPath
T.echo "Bundling first..."
run $ Bundle WithoutMain (Just moduleName) (Just targetPath)
code <- T.shell cmd T.empty
Expand Down

0 comments on commit 3357f17

Please sign in to comment.