« get me outta code hell

thumbs: traverse with wiki-matching posix style when verifying paths - 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:
author(quasar) nebula <qznebula@protonmail.com>2023-08-16 09:50:20 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-16 09:50:20 -0300
commit94e6d8a68d24b6f512360e4ab46438178d62e318 (patch)
tree8f6efe9e065c506ce79228ee9a6852a0a14c703a /src/upd8.js
parent7e7117e2e1c3d72393289f63695d4f86d358e7ed (diff)
thumbs: traverse with wiki-matching posix style when verifying paths
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 f659b360..51957225 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)) &&