From eab41b2575b22b6f11de47eccd03697d9eb3a96e Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Sun, 13 Oct 2024 22:56:06 +0200 Subject: [PATCH] Use process.cwd() instead of $(pwd) --- __tests__/e2e.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/e2e.test.ts b/__tests__/e2e.test.ts index 8048e9f5..c04d34c9 100644 --- a/__tests__/e2e.test.ts +++ b/__tests__/e2e.test.ts @@ -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( [ {