Skip to content

Commit 190d527

Browse files
authored
fix: Fix Windows detection (#1530)
1 parent 7ca3c48 commit 190d527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Composer/ComposerProcessFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ private static function retrieveComposerExecutable(): string
170170

171171
private static function isWindows(): bool
172172
{
173-
return PHP_OS_FAMILY !== 'Windows';
173+
return PHP_OS_FAMILY === 'Windows';
174174
}
175175
}

0 commit comments

Comments
 (0)