Skip to content

Commit

Permalink
rephrase error message for mismatched pricing values in manifest (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
bandantonio authored Aug 29, 2023
1 parent eb0b8b9 commit a4f0bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ export function validateManifest(manifest: Manifest): Manifest {
}

if (manifest.pricing && !['Free', 'Trial'].includes(manifest.pricing)) {
throw new Error('Pricing should be Free or Trial');
throw new Error('Pricing can only be "Free" or "Trial"');
}

validateVersion(manifest.version);
Expand Down

0 comments on commit a4f0bf3

Please sign in to comment.