Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/commands/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ module.exports = {
return repo.commitAll(message).then(function() {
pushQueue.push(branchName);
}).then(function() {
ui.writeLine(chalk.green("Succesfully committed changes '" + message + "' locally."));
ui.writeLine(chalk.green("Successfully committed changes '" + message + "' locally."));
});
});
}
Expand All @@ -266,7 +266,7 @@ module.exports = {
return repo.createTag(tagName, message).then(function() {
pushQueue.push(tagName);
}).then(function() {
ui.writeLine(chalk.green("Succesfully created git tag '" + tagName + "' locally."));
ui.writeLine(chalk.green("Successfully created git tag '" + tagName + "' locally."));
});
}

Expand All @@ -275,7 +275,7 @@ module.exports = {

return resolveAll(pushQueue.map(function(treeish) {
return repo.push(options.remote, treeish).then(function() {
ui.writeLine(chalk.green("Succesfully pushed '" + treeish + "' to remote '" + options.remote + "'."));
ui.writeLine(chalk.green("Successfully pushed '" + treeish + "' to remote '" + options.remote + "'."));
});
}));
}
Expand Down
18 changes: 9 additions & 9 deletions tests/acceptance/commands/release-nodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe("release command", function() {

return cmd.validateAndRun([ '--local' ]).then(function() {
expect(createdTagName).to.equal(defaultTag);
expect(ui.output).to.contain("Succesfully created git tag '" + defaultTag + "' locally.");
expect(ui.output).to.contain("Successfully created git tag '" + defaultTag + "' locally.");
});
});
});
Expand Down Expand Up @@ -193,7 +193,7 @@ describe("release command", function() {
repo.respondTo('createTag', makeResponder(null));

return cmd.validateAndRun([ '--local', '--yes' ]).then(function() {
expect(ui.output).to.contain("Succesfully created git tag '" + nextTag + "' locally.");
expect(ui.output).to.contain("Successfully created git tag '" + nextTag + "' locally.");
});
});

Expand Down Expand Up @@ -259,7 +259,7 @@ describe("release command", function() {
return cmd.validateAndRun([ '--tag', 'foo', '--local' ]).then(function() {
expect(createdTagName).to.equal('foo');
expect(createdTagMessage).to.be.falsey;
expect(ui.output).to.contain("Succesfully created git tag '" + createdTagName + "' locally.");
expect(ui.output).to.contain("Successfully created git tag '" + createdTagName + "' locally.");
});
});

Expand All @@ -281,7 +281,7 @@ describe("release command", function() {
return cmd.validateAndRun([ '--annotation', 'Tag %@', '--local' ]).then(function() {
expect(createdTagName).to.equal(nextTag);
expect(createdTagMessage ).to.equal('Tag ' + nextTag);
expect(ui.output).to.contain("Succesfully created git tag '" + createdTagName + "' locally.");
expect(ui.output).to.contain("Successfully created git tag '" + createdTagName + "' locally.");
});
});

Expand Down Expand Up @@ -318,7 +318,7 @@ describe("release command", function() {
expect(strategyOptions.major).to.be.true;
expect(strategyOptions.format).to.equal(dateFormat);
expect(strategyOptions.timezone).to.equal(timezone);
expect(ui.output).to.contain("Succesfully created git tag '" + createdTagName + "' locally.");
expect(ui.output).to.contain("Successfully created git tag '" + createdTagName + "' locally.");
});
});

Expand All @@ -343,8 +343,8 @@ describe("release command", function() {
expect(pushRemote).to.equal('foo');
expect(tagName).to.equal(nextTag);
expect(ui.output).to.contain("About to create tag '" + nextTag + "' and push to remote '" + pushRemote + "', proceed?");
expect(ui.output).to.contain("Succesfully created git tag '" + nextTag + "' locally.");
expect(ui.output).to.contain("Succesfully pushed '" + nextTag + "' to remote '" + pushRemote + "'.");
expect(ui.output).to.contain("Successfully created git tag '" + nextTag + "' locally.");
expect(ui.output).to.contain("Successfully pushed '" + nextTag + "' to remote '" + pushRemote + "'.");
});
});
});
Expand Down Expand Up @@ -387,7 +387,7 @@ describe("release command", function() {

return cmd.validateAndRun([ '--message', 'Foo %@', '--local', '--yes' ]).then(function() {
expect(commitMessage).to.equal('Foo ' + nextTag);
expect(ui.output).to.contain("Succesfully committed changes '" + commitMessage + "' locally.");
expect(ui.output).to.contain("Successfully committed changes '" + commitMessage + "' locally.");
});
});

Expand All @@ -406,7 +406,7 @@ describe("release command", function() {
repo.respondTo('push', makeResponder(null));

return cmd.validateAndRun([ '--yes' ]).then(function() {
expect(ui.output).to.contain("Succesfully pushed '" + branchName + "' to remote '" + pushRemote + "'.");
expect(ui.output).to.contain("Successfully pushed '" + branchName + "' to remote '" + pushRemote + "'.");
});
});
});
Expand Down