Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c878c12

Browse files
committed
Merge pull request #170 from Microsoft/rollout-percent
Minor fix
2 parents d82c9fe + 07ac58f commit c878c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/script/command-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ function isValidRollout(args: any): boolean {
706706
}
707707

708708
function getRolloutValue(input: string): number {
709-
return parseInt(input.replace("%", ""));
709+
return input ? parseInt(input.replace("%", "")) : null;
710710
}
711711

712712
function getServerUrl(url: string): string {

0 commit comments

Comments
 (0)