Skip to content

Commit

Permalink
Don't forget to denormalize cwd in dependency plugin Lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Feb 3, 2024
1 parent 456a363 commit ef68e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hydrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function hydrator (inventory, installing, params, callback) {
let manifestFiles = [ 'package.json', 'requirements.txt', 'Gemfile' ]
let possibleLambdaManifests = []
if (hasLambdae) possibleLambdaManifests = inv.lambdaSrcDirs.reduce((acc, dir) => {
acc.push(...manifestFiles.map(manifest => join(dir, manifest)))
acc.push(...manifestFiles.map(manifest => stripCwd(join(dir, manifest), cwd)))
return acc
}, [])

Expand Down

0 comments on commit ef68e36

Please sign in to comment.