From 8533a4a303eaf7479feacc6b333564c6c919447a Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 6 Apr 2015 17:18:00 -0400 Subject: [PATCH] Remove bundled node version from version command --- build/actions/info.js | 5 ++--- doc/info/version.markdown | 2 +- lib/actions/info.coffee | 5 ++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/build/actions/info.js b/build/actions/info.js index 9f9f80b2..b0902c58 100644 --- a/build/actions/info.js +++ b/build/actions/info.js @@ -6,10 +6,9 @@ exports.version = { signature: 'version', description: 'output the version number', - help: 'Display the Resin CLI, as well as the bundled NodeJS version.', + help: 'Display the Resin CLI version.', action: function() { - console.log(packageJSON.name + ": " + packageJSON.version); - return console.log("node: " + process.version); + return console.log(packageJSON.version); } }; diff --git a/doc/info/version.markdown b/doc/info/version.markdown index 028bc186..9cafac28 100644 --- a/doc/info/version.markdown +++ b/doc/info/version.markdown @@ -1,3 +1,3 @@ # version -Display the Resin CLI, as well as the bundled NodeJS version. +Display the Resin CLI version. diff --git a/lib/actions/info.coffee b/lib/actions/info.coffee index 47230ae8..f9a28d5a 100644 --- a/lib/actions/info.coffee +++ b/lib/actions/info.coffee @@ -4,8 +4,7 @@ exports.version = signature: 'version' description: 'output the version number' help: ''' - Display the Resin CLI, as well as the bundled NodeJS version. + Display the Resin CLI version. ''' action: -> - console.log("#{packageJSON.name}: #{packageJSON.version}") - console.log("node: #{process.version}") + console.log(packageJSON.version)