Skip to content

Commit

Permalink
DX-3486: Project creation fails if Git config not set (#4357)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Mar 5, 2021
1 parent dfeb417 commit f52dd27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Robo/Commands/Blt/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public function addToProject() {
$this->initializeBlt();
$this->setProjectName();
$this->initGitignore();
$this->initAndCommitRepo();
// Invoke command instead of calling method to ensure hooks run.
$this->invokeCommand('internal:create-project:init-repo');
$this->displayArt();
$this->yell("BLT has been added to your project.");
$this->say("Please continue by following the \"Adding BLT to an existing project\" instructions:");
Expand Down

0 comments on commit f52dd27

Please sign in to comment.