Skip to content

Commit d9d870a

Browse files
author
Bart Koelman
committed
Adapted to latest version of ReGitLint
1 parent 6838cf9 commit d9d870a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.config/dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"regitlint": {
12-
"version": "2.1.4",
12+
"version": "6.0.6",
1313
"commands": [
1414
"regitlint"
1515
]

Build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function RunCleanupCode {
4747
$mergeCommitHash = git rev-parse "HEAD"
4848
$targetCommitHash = git rev-parse "$env:APPVEYOR_REPO_BRANCH"
4949

50-
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --jb --profile --jb --profile='\"JADNC Full Cleanup\"' --jb --properties:Configuration=Release --jb --verbosity=WARN --jb -dsl=GlobalAll --jb -dsl=GlobalPerProduct --jb -dsl=SolutionPersonal --jb -dsl=ProjectPersonal -f commits -a $mergeCommitHash -b $targetCommitHash --fail-on-diff --print-diff
50+
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --disable-jb-path-hack --jb --profile='\"JADNC Full Cleanup\"' --jb --properties:Configuration=Release --jb --verbosity=WARN -f commits -a $mergeCommitHash -b $targetCommitHash --fail-on-diff --print-diff
5151
CheckLastExitCode
5252
}
5353
}

cleanupcode.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ if ($LASTEXITCODE -ne 0) {
1414
throw "Package restore failed with exit code $LASTEXITCODE"
1515
}
1616

17-
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --jb --profile --jb --profile='\"JADNC Full Cleanup\"' --jb --properties:Configuration=Release --jb --verbosity=WARN --jb -dsl=GlobalAll --jb -dsl=GlobalPerProduct --jb -dsl=SolutionPersonal --jb -dsl=ProjectPersonal
17+
dotnet regitlint -s JsonApiDotNetCore.sln --print-command --disable-jb-path-hack --jb --profile='\"JADNC Full Cleanup\"' --jb --properties:Configuration=Release --jb --verbosity=WARN

0 commit comments

Comments
 (0)