Skip to content

Commit

Permalink
fix: disable follow symbolic link (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Mar 5, 2020
1 parent 0dbfa1b commit 99c30d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/midway-core/src/context/midwayContainer.ts
Expand Up @@ -128,6 +128,7 @@ export class MidwayContainer extends Container implements IMidwayContainer {
DEFAULT_PATTERN.concat(opts.pattern || []),
{
cwd: dir,
followSymbolicLinks: false,
ignore: DEFAULT_IGNORE_PATTERN.concat(opts.ignore || []),
suppressErrors: true
}
Expand Down

0 comments on commit 99c30d7

Please sign in to comment.