From c0596d9bda3a548ee16a5da387c2bedcbe78efbf Mon Sep 17 00:00:00 2001 From: Ruben Daniels Date: Wed, 29 Apr 2015 20:18:39 +0000 Subject: [PATCH] Don't default to the open command --- plugins/c9.cli/cli.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/c9.cli/cli.js b/plugins/c9.cli/cli.js index ab533f32..4a5923fc 100755 --- a/plugins/c9.cli/cli.js +++ b/plugins/c9.cli/cli.js @@ -29,11 +29,6 @@ define(function(require, exports, module) { return false; }); - if (!commands[module] && process.argv.length > 2 && process.argv.every(function(n){ return !n.match(/^--/)})) { - process.argv.splice(2, 0, "open"); - module = "open"; - } - optimist = require('optimist'); if (!module || !commands[module]) {