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 committed Oct 2, 2024
1 parent 359af68 commit 04b40fa
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 04b40fa

Please sign in to comment.