aboutsummaryrefslogtreecommitdiffstats
path: root/build/import.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-08 11:24:24 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-08 11:24:24 +0000
commitd63e8f54a87076cfbd3cb458c3e2128f46a9038d (patch)
tree499c377a9e367b3f3e6746e1354be12bc14156ef /build/import.moon
parentlayout fixes: (diff)
downloadmmm-d63e8f54a87076cfbd3cb458c3e2128f46a9038d.tar.gz
mmm-d63e8f54a87076cfbd3cb458c3e2128f46a9038d.zip
serve static assets from as ?...
Diffstat (limited to 'build/import.moon')
-rw-r--r--build/import.moon3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/import.moon b/build/import.moon
index b5def43..e87f12d 100644
--- a/build/import.moon
+++ b/build/import.moon
@@ -39,8 +39,7 @@ with SQLStore name: output, verbose: true
continue if file == '$order'
filepath = "#{dirpath}/#{file}"
- attr = lfs.attributes filepath
- switch attr.mode
+ switch lfs.attributes filepath, 'mode'
when 'file'
key, value = load_facet file, filepath
\create_facet fileder, key.name, key.type, value