aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source')
-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"