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.
2 parents aa6c4a2 + fd78e25 commit 9d6cea6Copy full SHA for 9d6cea6
Libplanet.Tools/bin/npm-test.ps1
@@ -1,7 +1,7 @@
1
#!/usr/bin/env pwsh
2
param (
3
[Parameter(Mandatory, Position=0, HelpMessage="Enter a version to download.")]
4
- [ValidatePattern("^([1-9][0-9]*|0)\.([1-9][0-9]*|0)\.([1-9][0-9]*|0)$")]
+ [ValidatePattern("^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$")]
5
[string]
6
$Version
7
)
0 commit comments