Skip to content

Commit

Permalink
Merge pull request #83 from creative-commoners/pulls/2.0/cow-reposito…
Browse files Browse the repository at this point in the history
…ry-path

FIX Use correct repository path for .cow.repository writing
  • Loading branch information
dhensby authored May 9, 2018
2 parents 9b1042d + b5e2e58 commit 4f56611
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 4f56611

Please sign in to comment.