File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
55
function global :prompt {
56
56
# Run command agains $env:SDK_REPO_ROOT to see if there are any changes
57
57
$testDotnetSdkCurrentHash = git - C $env: SDK_REPO_ROOT rev- parse HEAD
58
- $hasGitChanges = (git status - C $ env: SDK_REPO_ROOT -- porcelain) -ne " " -or $testDotnetSdkCurrentHash -ne $env: TestDotnetSdkHash
58
+ $hasGitChanges = $testDotnetSdkCurrentHash -ne $env: TestDotnetSdkHash
59
59
if ($hasGitChanges ) {
60
60
" $ ( [char ]0x1b ) [0;35m(dotnet dogfood *)$ ( [char ]0x1b ) [0m $PWD > "
61
61
} else {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export PATH=$testDotnetRoot:$PATH
28
28
export DOTNET_ROOT=$testDotnetRoot
29
29
30
30
testDotnetSdkCurrentHash = git -c $SDK_REPO_ROOT rev-parse HEAD
31
- hasGitChanges = $( git -c $SDK_REPO_ROOT status --porcelain ) ! = " " or $ testDotnetSdkCurrentHash ! = $TestDotnetSdkHash
31
+ hasGitChanges = $testDotnetSdkCurrentHash ! = $TestDotnetSdkHash
32
32
33
33
if [$hasGitChanges ]; then
34
34
export PS1=" \x1b[0;35m(dotnet dogfood*)\x1b[0m $PS1 "
You can’t perform that action at this time.
0 commit comments