Skip to content

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ is_chrome() {
2323
}
2424

2525
is_wsl() {
26-
version=$(</proc/version)
26+
version=$(2> /dev/null cat /proc/version)
2727
if [[ "$version" == *"Microsoft"* || "$version" == *"microsoft"* ]]; then
2828
return 0
2929
else

0 commit comments

Comments
 (0)