Skip to content

Commit

Permalink
fix: Windows zipping bug (path backslash, only supported safely in so…
Browse files Browse the repository at this point in the history
…me zip processors) [skip ci]
  • Loading branch information
danielweck committed May 8, 2020
1 parent 10e844e commit bee2a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/helpers/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function zip(progressCallback, dir, output, includes, excludes) {
readdir.stream(dir, {deep: true})
.on('data', data => {})
.on('file', file => {
allFiles.push(file);
allFiles.push(file.replace(/\\/g, "/"));
})
.on('error', reject)
.on('end', () => {
Expand Down

0 comments on commit bee2a8a

Please sign in to comment.