Skip to content

Commit

Permalink
Merge pull request #22 from pksorensen/patch-1
Browse files Browse the repository at this point in the history
Update upload.ts
  • Loading branch information
lambdalisue authored Oct 24, 2022
2 parents 1183f06 + 6f293b5 commit 41eaaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function upload(
};

// Upload the file/directory
const paths = glob.sync(path);
const paths = glob.sync(path.replace(/\\/g, '/'));
for (const path of paths) {
const stat = await fs.lstat(path);
if (stat.isDirectory()) {
Expand Down

0 comments on commit 41eaaaa

Please sign in to comment.