Skip to content

Commit 99f1329

Browse files
committed
fix(aws): fix path to packages directory
1 parent 22c2e97 commit 99f1329

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)