Skip to content

Commit 5fd267a

Browse files
authored
Use withWorkingDirectory instead of withPath - castor 1.0 compat
1 parent 5f85c21 commit 5fd267a

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)