Skip to content

Commit 0363c07

Browse files
author
Bart Koelman
committed
Optimization: pkg-restore only for local cleanupcode
1 parent 1fe22b0 commit 0363c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cleanupcode.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ if ($LASTEXITCODE -ne 0) {
88
throw "Tool restore failed with exit code $LASTEXITCODE"
99
}
1010

11-
dotnet build -c Release
11+
dotnet restore
1212

1313
if ($LASTEXITCODE -ne 0) {
14-
throw "Build failed with exit code $LASTEXITCODE"
14+
throw "Package restore failed with exit code $LASTEXITCODE"
1515
}
1616

1717
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --jb --profile --jb --profile='\"JADNC Full Cleanup\"' --jb --properties:Configuration=Release --jb --verbosity=WARN

0 commit comments

Comments
 (0)