From 4cf436ed64878fe273c96908cdc652af4b2e48a1 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 11 Dec 2012 07:02:34 -0500 Subject: [PATCH] added description --- lib/server/update.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/server/update.js b/lib/server/update.js index 7a2e23af..0413be55 100644 --- a/lib/server/update.js +++ b/lib/server/update.js @@ -3,6 +3,15 @@ (function(){ "use strict"; + if(!global.cloudcmd) + return console.log( + '# update.js' + '\n' + + '# -----------' + '\n' + + '# Module is part of Cloud Commander,' + '\n' + + '# used for work update thru git.' + '\n' + + '# If you wont to see at work install git' + '\n' + + '# http://github.com/coderaiser/cloudcmd' + '\n'); + var main = global.cloudcmd.main, mainpackage = main.mainpackage, exec = main.child_process.exec, @@ -45,7 +54,7 @@ stderr : pStderr || pError }; }else - lExec = 'install git to get auto updates (works for cloned versinons)\n' + + lExec = 'install git to get auto updates (works for cloned version)\n' + 'git clone http://github.com/coderaiser/cloudcmd';