Skip to content

Commit

Permalink
Fixes #1675: Setting cm.core.dirs.vcs to cm.core.dirs.sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Jun 19, 2017
1 parent 0aab883 commit 5ead5f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cm:
sync:
path: ${cm.core.path}/default
vcs:
path: ${cm.core.path}/default
path: ${cm.core.dirs.sync.path}
features:
no-overrides: true

Expand Down
6 changes: 3 additions & 3 deletions src/Robo/BltTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ protected function invokeCommand($command_name, array $args = []) {
$exit_code = $application->runCommand($command, $input, $this->output());
$this->invokeDepth--;

// The application will catch any exceptions thrown in the run command.
// We must check the exit code and throw our own exception. This allows
// us to do without checking the exit code of every invoked command.
// The application will catch any exceptions thrown in the executed
// command. We must check the exit code and throw our own exception. This
// obviates the need to check the exit code of every invoked command.
if ($exit_code) {
throw new BltException("Command `$command_name {$input->__toString()}` exited with code $exit_code.");
}
Expand Down

0 comments on commit 5ead5f3

Please sign in to comment.