Skip to content

Commit

Permalink
Use process.cwd() instead of $(pwd)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 13, 2024
1 parent 68c5dcd commit eab41b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fixturesTempDir = '__tests__/fixtures/__temp';
beforeAll(
async () => {
const { stdout: pnpmPackTarballPath } = await execa`pnpm pack`;
await execa`pnpm add --global $(pwd)/${pnpmPackTarballPath}`;
await execa`pnpm add --global ${process.cwd()}/${pnpmPackTarballPath}`;
await pMap(
[
{
Expand Down

0 comments on commit eab41b2

Please sign in to comment.