aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 8993c1192..b4b82d9ce 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -553,7 +553,7 @@
... Note: I have to call "eval" this way
... in order to avoid a quirk of calling eval in Node
... when the code is running under "use strict";.
- (try (let [return ("js apply" (function.identity ("js constant" "eval")) code)]
+ (try (let [return ("js apply" (function.identity ("js constant" "eval")) [code])]
(if ("js object null?" return)
{.#None}
{.#Some return}))))
@@ -717,8 +717,8 @@
service
[(packager.package _.use_strict _.code _.then ..scope)
(format (cli.target service)
- (# (value@ platform.#&file_system platform) separator)
+ (# (the platform.#&file_system platform) separator)
"program"
- (value@ context.#artifact_extension context))])]
+ (the context.#artifact_extension context))])]
(..declare_success! []))
(io.io []))))