aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc
diff options
context:
space:
mode:
authorEduardo Julian2018-01-28 23:11:36 -0400
committerEduardo Julian2018-01-28 23:11:36 -0400
commitcaa10c162e5e830d61958532901a29337ee32b36 (patch)
tree56f2d6088f6ba85fcddfb036141b59dcc2499039 /new-luxc/source/luxc
parentcdb310ae9918b7887f3b0c00916e26a30be57e0d (diff)
- Adapted new-luxc to latest version of stdlib.
Diffstat (limited to 'new-luxc/source/luxc')
-rw-r--r--new-luxc/source/luxc/io.jvm.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/io.jvm.lux b/new-luxc/source/luxc/io.jvm.lux
index 0139edc7b..fdda1520c 100644
--- a/new-luxc/source/luxc/io.jvm.lux
+++ b/new-luxc/source/luxc/io.jvm.lux
@@ -73,8 +73,8 @@
(def: #export (prepare-target target-dir)
(-> File (Process Bool))
(do io.Monad<Process>
- [_ (file.make-dir (sanitize target-dir))]
- (file.make-dir (sanitize (platform-target target-dir)))))
+ [_ (file.make-directory (sanitize target-dir))]
+ (file.make-directory (sanitize (platform-target target-dir)))))
(def: #export (prepare-module target-dir module-name)
(-> File Text (Process Unit))
@@ -85,7 +85,7 @@
module-exists? (file.exists? module-path)
made-dir? (if module-exists?
(wrap module-exists?)
- (file.make-dir module-path))]
+ (file.make-directory module-path))]
(if made-dir?
(wrap [])
(io.fail (Could-Not-Prepare-Module (format "Module: " module-name "\n"