Skip to content

Commit

Permalink
release: 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalsky committed Jan 27, 2018
1 parent 99b2a9a commit 6b67fd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ var Logger = (function () {
Logger.prototype.log = function () {
var _this = this;
var freshVersions = this.getFreshVersions();
freshVersions.forEach(function (version) {
_this.displayVersion(version);
});
// If no fresh versions, it's unnecessary to enquire.
if (freshVersions.length === 0) {
o.showNochange();
}
this.options.intro && this.displayIntro();
freshVersions.forEach(function (version) {
_this.displayVersion(version);
});
if (freshVersions.length > 0) {
// If answer is Y, record this current version
this.options.insure && this.inquiry();
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "changelog-reminder",
"version": "0.3.0",
"version": "0.3.1",
"bin": "bin/cli",
"main": "bin/cli",
"ts:main": "src/cli.ts",
Expand All @@ -12,8 +12,7 @@
"scripts": {
"watch": "tsc",
"build": "rollup -c",
"test": "mocha -r ts-node/register ./test/*.test.ts",
"publish": "rollup -c && npm publish"
"test": "mocha -r ts-node/register ./test/*.test.ts"
},
"dependencies": {
"chalk": "^2.3.0",
Expand Down

0 comments on commit 6b67fd8

Please sign in to comment.