Skip to content

Commit

Permalink
Allow deployPercentage to be set to 0 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Aug 13, 2024
1 parent 4af2eab commit 6ceed07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const publishURI = ({ extensionId, target = 'default', deployPercentage }: {
}): string => {
const url = new URL(`${rootURI}/chromewebstore/v1.1/items/${extensionId}/publish`);
url.searchParams.set('publishTarget', target);
if (deployPercentage) {
if (deployPercentage !== undefined) {
url.searchParams.set('deployPercentage', String(deployPercentage));
}

Expand Down

0 comments on commit 6ceed07

Please sign in to comment.