Skip to content

Commit

Permalink
refactor(version): Tweak error code when remote branch does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Nov 27, 2018
1 parent b199f32 commit fbf9629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/version/index.js
Expand Up @@ -93,7 +93,7 @@ class VersionCommand extends Command {

if (this.pushToRemote && !remoteBranchExists(this.gitRemote, this.currentBranch, this.execOpts)) {
throw new ValidationError(
"EMISSREMOTEBRANCH",
"ENOREMOTEBRANCH",
dedent`
Branch '${this.currentBranch}' doesn't exist in remote '${this.gitRemote}'.
If this is a new branch, please make sure you push it to the remote first.
Expand Down

0 comments on commit fbf9629

Please sign in to comment.