aboutsummaryrefslogtreecommitdiff
path: root/licentia/source
diff options
context:
space:
mode:
Diffstat (limited to 'licentia/source')
-rw-r--r--licentia/source/program/licentia.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux
index 50fb066e9..14f29237f 100644
--- a/licentia/source/program/licentia.lux
+++ b/licentia/source/program/licentia.lux
@@ -67,14 +67,14 @@
(do (try.with io.monad)
[blob (\ file.default read input)
document (io\wrap (do {! try.monad}
- [raw_json (\ utf8.codec decode blob)
+ [raw_json (\ utf8.codec decoded blob)
json (|> raw_json
java/lang/String::trim
- (\ json.codec decode))]
+ (\ json.codec decoded))]
(|> json
(<json>.result /input.license)
(\ ! map /output.license))))]
- (\ file.default write (\ utf8.codec encode document) output)))]
+ (\ file.default write (\ utf8.codec encoded document) output)))]
(wrap (debug.log! (case ?done
(#try.Success _)
(success_message output)