Skip to content

Commit

Permalink
fix(azure-functions): follow symlinks in zip bundle (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro authored Oct 2, 2024
1 parent 817518b commit 95c7d8b
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 95c7d8b

Please sign in to comment.