Skip to content

Commit

Permalink
📂: fix missing variable assignment for save operation to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
linusha committed Feb 14, 2024
1 parent 7132d5d commit 28a980d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lively.project/prompts.cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class ProjectSavePrompt extends AbstractPromptModel {
const branchName = branchInput.textString.trim();
success = await this.project.gitResource.createAndCheckoutBranch(branchName);
if (!success) $world.setStatusMessage(`Could not create branch ${branchName}, possibly due to a name collision!`, StatusMessageError);
}
} else success = true;

if (success) success = await this.project.save({ increaseLevel, message, tag: this.tag });
li.remove();
Expand Down

0 comments on commit 28a980d

Please sign in to comment.