From c24f3e676194b2ecac1226859398dca1e62b5789 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 19 Jan 2015 07:51:29 +0100 Subject: [PATCH] remove mandatory params --- dist.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dist.js b/dist.js index cd37a24..31a5dcf 100644 --- a/dist.js +++ b/dist.js @@ -7,12 +7,6 @@ var ncp = Promise.promisify(require('ncp').ncp); var local = 'tmp'; var repo = 'https://github.com/taigaio/taiga-front'; -var params = process.argv.slice(2); - -if (params.length !== 2) { - throw "Github user & password rerquired"; -} - var action = (function cloneOrPull(){ var cloned = fs.existsSync(local);