Skip to content

Commit

Permalink
apparently nested modules are just identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwoo committed Oct 19, 2018
1 parent f12a764 commit bf8308c
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 bf8308c

Please sign in to comment.