« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js
index f659b36..5195722 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -708,6 +708,7 @@ async function main() {
   // cheat and get file sizes for all images under media. (This includes
   // additional files which are images.)
   const imageFilePaths = (await traverse(mediaPath, {
+    pathStyle: 'device',
     filterDir: dir => dir !== '.git',
     filterFile: file => (
       ['.png', '.gif', '.jpg'].includes(path.extname(file)) &&