Skip to content

Commit

Permalink
FIX Use correct repository path for .cow.repository writing
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed May 8, 2018
1 parent 9b1042d commit b5e2e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Steps/Release/CreateProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public function run(InputInterface $input, OutputInterface $output)
}

// If using custom repository, write `.cow.repository` file for later
if ($this->getRepository()) {
file_put_contents($path.'/.cow.repository', $this->getRepository());
if ($repo) {
file_put_contents($repo->getPath() . '/.cow.repository', $this->getRepository());
}

// Success
Expand Down

0 comments on commit b5e2e58

Please sign in to comment.