From 0761657b882443b641938defd567a4c21cfdc26a Mon Sep 17 00:00:00 2001 From: typicode Date: Thu, 6 Oct 2016 00:50:09 +0200 Subject: [PATCH] Update bin --- bin/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/index.js b/bin/index.js index af57ffe..9a51a40 100755 --- a/bin/index.js +++ b/bin/index.js @@ -1,2 +1,4 @@ #!/usr/bin/env node -require('../lib/cli')() +process.env.NODE_ENV === 'test' + ? require('../src/cli')() + : require('../lib/cli')() \ No newline at end of file