cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [09/27] git commit: CB-5816 remove out-commented code
Date Wed, 14 May 2014 00:09:38 GMT
CB-5816 remove out-commented code


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/883b4cd9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/883b4cd9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/883b4cd9

Branch: refs/heads/3.5.x
Commit: 883b4cd9e7dc9353fe6c74da561c9f9d6efca2a3
Parents: 8f7ff83
Author: braas <braas@steckelfisch.nl>
Authored: Tue Mar 18 17:31:46 2014 +0100
Committer: braas <braas@steckelfisch.nl>
Committed: Tue Mar 18 17:31:46 2014 +0100

----------------------------------------------------------------------
 bin/lib/create.js | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/883b4cd9/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 07372d7..57babe4 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -26,25 +26,6 @@ var fs = require('fs'),
     ROOT    = path.join(__dirname, '..', '..'),
     check_reqs = require('./check_reqs');
 
-/*
-try {
-    require.resolve("shelljs");
-    create();
-} catch(e) {
-    console.log('Shelljs module was not found, running \'npm install\'.....');
-    var exec = require('child_process').exec;
-    var cwd = process.cwd();
-    process.chdir(__dirname);
-    exec('npm install',  function (error, stdout, stderr) {
-        if (error !== null) {
-          console.error('ERROR : running \'npm install\' is npm installed? ' + error);
-          console.error(stderr);
-          process.exit(error.code);
-        }
-        process.chdir(cwd);
-        create();
-    });
-*/
 
 exports.createProject = function(project_path,package_name,project_name){
     var VERSION = fs.readFileSync(path.join(ROOT, 'VERSION'), 'utf-8');


Mime
View raw message