Skip to content

Commit 22aa741

Browse files
authored
fix(aws): Fix path to packages directory (#17112)
we didn't actually build the resolutions correctly, this should fix it
1 parent 22c2e97 commit 22aa741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-serverless/scripts/buildLambdaLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function getAllFiles(dir: string): string[] {
142142

143143
function buildPackageJson(): void {
144144
console.log('Building package.json');
145-
const packagesDir = path.resolve(__dirname, '..');
145+
const packagesDir = path.resolve(__dirname, '../..');
146146
const packageDirs = fs
147147
.readdirSync(packagesDir, { withFileTypes: true })
148148
.filter(dirent => dirent.isDirectory())

0 commit comments

Comments
 (0)