aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/licentia.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-07-10 00:06:16 -0400
committerEduardo Julian2020-07-10 00:06:16 -0400
commitd48c3ff75f23a62c7f13ff411c25073e618b19de (patch)
treed5d36a4343ca48b765a68b1a665a9089c0d394fd /stdlib/source/program/licentia.lux
parent509259d91b07bce77864cf10123ce428461a3092 (diff)
Fixes and improvements to JavaScript compilation.
Diffstat (limited to 'stdlib/source/program/licentia.lux')
-rw-r--r--stdlib/source/program/licentia.lux3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/program/licentia.lux b/stdlib/source/program/licentia.lux
index 5021eb5bb..b3765916f 100644
--- a/stdlib/source/program/licentia.lux
+++ b/stdlib/source/program/licentia.lux
@@ -37,7 +37,7 @@
["#." input]
["#." output]])
-(with-expansions [<expiry> (as-is "2019-04-01")]
+(with-expansions [<expiry> "2019-04-01"]
(to-do <expiry> "Replace _.work with _.covered-work or _.licensed-work")
(to-do <expiry> "Create a short notice to add as a comment to each file in the _.work"))
@@ -64,6 +64,7 @@
json (|> raw-json
(:coerce java/lang/String)
java/lang/String::trim
+ (:coerce Text)
(:: json.codec decode))
license (json.run json /input.license)]
(wrap (/output.license license))))