Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

() use npm view for compatibility.

  • Loading branch information...
commit 4c71b371675189668243c740312e03f7a0d59130 1 parent 376488f
@zpoley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jsonCommand.js
View
2  lib/jsonCommand.js
@@ -68,7 +68,7 @@ JSON.Command.prototype.printversion = function() {
var npm = require("npm");
npm.load([], function(er) {
sys.print("json command line toolkit\n version: ");
- npm.commands.info([ "json", "version" ], function(er, data) {
+ npm.commands.view([ "json", "version" ], function(er, data) {
process.exit();
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.