Skip to content

Commit

Permalink
Merge pull request #28 from macacajs/version
Browse files Browse the repository at this point in the history
Fix npm version update
  • Loading branch information
ziczhu committed Apr 26, 2016
2 parents b0a378a + f9bb292 commit 866dbdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/macaca-client
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ var printInfo = function(lines) {
function init(error, data) {

if (data && data.version && pkg.version !== data.version) {
printInfo([`version ${data.version} is outdate`, `run: npm i -g ${pkg.name}@${pkg.version}`]);
printInfo([`version ${pkg.version} is outdate`, `run: npm i -g ${pkg.name}@${data.version}`]);
}

var args = program.rawArgs.slice(3);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "macaca-client",
"version": "1.0.18",
"version": "1.0.19",
"description": "Macaca automation client",
"keywords": [
"automation",
Expand Down

0 comments on commit 866dbdf

Please sign in to comment.