Skip to content

Commit

Permalink
Use correct order for signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fwal committed Jul 3, 2024
1 parent 59d4cb6 commit 391a573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux-install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function install(version: string, system: System) {
const swiftPkg = swiftPackage(version, system);
const { pkg, signature } = await download(swiftPkg);

await verify(pkg, signature);
await verify(signature, pkg);

swiftPath = await unpack(pkg, swiftPkg.name, version, system);
} else {
Expand Down

0 comments on commit 391a573

Please sign in to comment.