aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-08 13:37:53 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-08 13:37:53 +0000
commit92861ee9812b30b68f87f5c0f13125119e592473 (patch)
tree7a7219653b5e1303e3b127ab8049f990d3eefa7f /build
parentchange static path to work with static content (diff)
downloadmmm-92861ee9812b30b68f87f5c0f13125119e592473.tar.gz
mmm-92861ee9812b30b68f87f5c0f13125119e592473.zip
add anything -> URL cast
Diffstat (limited to 'build')
-rw-r--r--build/import.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/import.moon b/build/import.moon
index e87f12d..aa8250e 100644
--- a/build/import.moon
+++ b/build/import.moon
@@ -24,7 +24,7 @@ load_facet = (filename, filepath) ->
key = Key key\gsub '%$', '/'
key.filename = filename
- file = assert (io.open filepath, 'r'), "couldn't open facet file '#{filename}'"
+ file = assert (io.open filepath, 'rb'), "couldn't open facet file '#{filename}'"
value = file\read '*all'
file\close!