Skip to content

Commit 44e31f7

Browse files
committed
condition winrm
1 parent dd66689 commit 44e31f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ param(
1414
[switch]$SkipLinkCheck
1515
)
1616

17-
winrm quickconfig -quiet
17+
if ($isWindows) {
18+
winrm quickconfig -quiet
19+
}
1820

1921
if ($GetPackageVersion) {
2022
$match = Select-String -Path $PSScriptRoot/dsc/Cargo.toml -Pattern '^version\s*=\s*"(?<ver>.*?)"$'

0 commit comments

Comments
 (0)