We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-p
1 parent f696d57 commit df68eaaCopy full SHA for df68eaa
scripts/bench/bench-packages.ts
@@ -411,6 +411,9 @@ const run = async () => {
411
'-p, --pull-request <number>',
412
'The PR number to add compare results to. Only used together with --baseBranch',
413
function parseInt(value) {
414
+ if (value === '0' || value === '') {
415
+ return null;
416
+ }
417
const parsedValue = Number.parseInt(value);
418
if (Number.isNaN(parsedValue)) {
419
throw new InvalidArgumentError('Must be a number');
0 commit comments