Skip to content

Commit

Permalink
build: fix warning in create-package-insiders-json.js
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information
fbricon committed Sep 24, 2023
1 parent 3fb0750 commit 588f056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-package-insiders-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const minor = stableVersion[2];

function prependZero(number) {
if (number > 99) {
throw "Unexpected value to prepend with zero";
throw new Exception("Unexpected value to prepend with zero");
}
return `${number < 10 ? "0" : ""}${number}`;
}
Expand Down

0 comments on commit 588f056

Please sign in to comment.