diff --git a/pnpm_test.go b/pnpm_test.go index c0379f036..6ba3d7a4d 100644 --- a/pnpm_test.go +++ b/pnpm_test.go @@ -511,7 +511,7 @@ func prepareArtifactoryForPnpmBuild(t *testing.T, workingDirectory string) { clientTestUtils.ChangeDirAndAssert(t, workingDirectory) caches := ioutils.DoubleWinPathSeparator(filepath.Join(workingDirectory, "caches")) jfrogCli := coretests.NewJfrogCli(execMain, "jfrog", "") - assert.NoError(t, jfrogCli.Exec("pnpm", "install", "-store-dir="+caches)) + assert.NoError(t, jfrogCli.Exec("pnpm", "install", "--store-dir="+caches)) clientTestUtils.RemoveAllAndAssert(t, filepath.Join(workingDirectory, "node_modules")) clientTestUtils.RemoveAllAndAssert(t, caches) }