From f64474b861ff0d5ff3d00fc36d26ff3f0a86dc3e Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Sun, 12 Mar 2017 11:59:13 +0900 Subject: [PATCH] dont require () at end of requires --- lib/cmd.js | 2 +- lib/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cmd.js b/lib/cmd.js index da226271..4c774b03 100644 --- a/lib/cmd.js +++ b/lib/cmd.js @@ -1,7 +1,7 @@ var program = require('commander'); var colors = require('colors'); var shelljs = require('shelljs'); -var Embark = require('../lib/index')(); +var Embark = require('../lib/index'); var Cmd = function() { program.version(Embark.version); diff --git a/lib/index.js b/lib/index.js index efb8ba70..e60b2681 100644 --- a/lib/index.js +++ b/lib/index.js @@ -196,7 +196,7 @@ var Embark = function () { upload: upload }; -}; +}(); Embark.initTests = function() { console.error("=============================".green);