diff options
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 1 |
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)) && |