Skip to content

Commit

Permalink
fix(preset): Archiver follows symlinks
Browse files Browse the repository at this point in the history
Fixes #2114
  • Loading branch information
itpropro authored and pi0 committed Oct 2, 2024
1 parent 817518b commit 8bd7919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/azure/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function _zipDirectory(dir: string, outfile: string): Promise<undefined> {

return new Promise((resolve, reject) => {
archive
.directory(dir, false)
.glob("**/*", { cwd: dir, nodir: true, dot: true, follow: true })
.on("error", (err: Error) => reject(err))
.pipe(stream);

Expand Down

0 comments on commit 8bd7919

Please sign in to comment.