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 716459f + d17f029 commit 6bf2b0bCopy full SHA for 6bf2b0b
bin/git-browse
@@ -40,7 +40,7 @@ case "$OSTYPE" in
40
;;
41
linux*)
42
# Handle WSL on Windows
43
- if uname -a | grep -i -q Microsoft
+ if uname -a | grep -i -q Microsoft && command -v powershell.exe
44
then
45
powershell.exe -NoProfile start $url
46
else
bin/git-browse-ci
@@ -51,7 +51,7 @@ case "$OSTYPE" in
51
52
53
54
55
56
powershell.exe -NoProfile start "${ci_url}"
57
0 commit comments