mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #940 from HyperBrain/896-follow-symlinks-on-copy
Issue #896 Add dereference option
This commit is contained in:
commit
628776fd70
@ -106,7 +106,8 @@ module.exports = function(S) {
|
||||
let packageRoot = handlerFullPath.replace(func.handler, '');
|
||||
|
||||
return fse.copyAsync(packageRoot, pathDist, {
|
||||
filter: this._processExcludePatterns(func, pathDist, stage, region)
|
||||
filter: this._processExcludePatterns(func, pathDist, stage, region),
|
||||
dereference: true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user