Skip to content

Commit

Permalink
Update src/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Piero Nicolli <pnicolli@users.noreply.github.com>
  • Loading branch information
giuliaghisini and pnicolli authored Mar 22, 2022
1 parent 1379244 commit 0f744e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const setHead = function (name, repository, settings, options) {
() => {
console.error(chalk.red(`✗ branch ${branch} does not exist in ${name}`));
if (defaultToMaster) {
let defaultMasterBranch = 'master;';
let defaultMasterBranch = 'master';
return repository
.checkout('defaultMasterBranch')
.catch((err) => {
Expand Down

0 comments on commit 0f744e1

Please sign in to comment.