update pake-cli to 2.0.0-alpha2

This commit is contained in:
Tlntin
2023-04-10 21:57:29 +08:00
parent 567d6a8c41
commit 5379ce634d
16 changed files with 243 additions and 193 deletions

View File

@@ -5,7 +5,7 @@ import fs from 'fs';
export function validateNumberInput(value: string) {
const parsedValue = Number(value);
if (isNaN(parsedValue)) {
throw new Commander.InvalidArgumentError('The input cannot be a number.');
throw new Commander.InvalidArgumentError('Not a number.');
}
return parsedValue;
}