Skip to content

Commit 90c5202

Browse files
committed
fix: os name check error
1 parent e3ff1ef commit 90c5202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OS.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function isWin(): bool
7373
*/
7474
public static function isWindows(): bool
7575
{
76-
return stripos(self::name(), 'WIN') !== false;
76+
return stripos(self::name(), 'Windows') !== false;
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)