Skip to content

Commit b85964b

Browse files
authored
Merge pull request #375 from jolicode/ternel-patch-1
Use withWorkingDirectory instead of withPath - castor 1.0 compat
2 parents 5f85c21 + 5fd267a commit b85964b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.castor/docker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ function run_in_docker_or_locally_for_mac(string $command, ?Context $c = null):
470470
$c ??= context();
471471

472472
if ($c['macos']) {
473-
run($command, context: $c->withPath($c['root_dir']));
473+
run($command, context: $c->withWorkingDirectory($c['root_dir']));
474474
} else {
475475
docker_compose_run($command, c: $c);
476476
}

0 commit comments

Comments
 (0)