Skip to content

Commit

Permalink
fixup! fix: fallback to shasum when integrity is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jul 19, 2024
1 parent 9c725d7 commit d7e4238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ it(`should download latest pnpm from custom registry`, async () => {
await expect(runCli(cwd, [`pnpm`, `--version`], true)).resolves.toMatchObject({
exitCode: 0,
stdout: `pnpm: Hello from custom registry\n`,
stderr: /^! The local project doesn't define a 'packageManager' field\. Corepack will now add one referencing pnpm@1\.9998\.9999/,
stderr: /^! The local project doesn't define a 'packageManager' field\. Corepack will now add one referencing pnpm@1\.9998\.9999@sha1\./,
});

// Should keep working with cache
Expand Down

0 comments on commit d7e4238

Please sign in to comment.