Skip to content

Commit a78242b

Browse files
committed
small fixes
1 parent a34d06d commit a78242b

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

dev-packages/e2e-tests/ciCopyToTemp.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ async function run(): Promise<void> {
1515
await copyToTemp(originalPath, tmpDirPath);
1616
}
1717

18-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
19-
run();
18+
run().catch(error => {
19+
console.error(error);
20+
process.exit(1);
21+
});

dev-packages/e2e-tests/ciPnpmOverrides.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ async function run(): Promise<void> {
1414
await addPnpmOverrides(path.resolve(tmpDirPath), path.resolve(packedDirPath));
1515
}
1616

17-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
18-
run();
17+
run().catch(error => {
18+
console.error(error);
19+
process.exit(1);
20+
});

dev-packages/e2e-tests/lib/pnpmOverrides.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export async function addPnpmOverrides(tmpDirPath: string, packedDirPath: string
3939
}
4040

4141
packageJson.pnpm = {
42+
...packageJson.pnpm,
4243
overrides: {
4344
...overrides,
4445
...packageJson.pnpm?.overrides,

0 commit comments

Comments
 (0)