Skip to content

Commit

Permalink
Merge pull request #301 from basilelt/main
Browse files Browse the repository at this point in the history
Update platform value for windows devices as it returns windows nt
  • Loading branch information
lyrixx authored Apr 22, 2024
2 parents ab4b124 + 5689fc8 commit 0313f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function create_default_context(): Context
if (str_contains($platform, 'darwin')) {
$data['macos'] = true;
$data['docker_compose_files'][] = 'docker-compose.docker-for-x.yml';
} elseif (\in_array($platform, ['win32', 'win64'])) {
} elseif (\in_array($platform, ['win32', 'win64', 'windows nt'])) {
$data['docker_compose_files'][] = 'docker-compose.docker-for-x.yml';
$data['power_shell'] = true;
}
Expand Down

0 comments on commit 0313f26

Please sign in to comment.