Skip to content

Commit 3581bf1

Browse files
cgmartinfilipesilva
authored andcommitted
refactor(bin): cleanup ng bin (angular#495)
1 parent bb29b0d commit 3581bf1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bin/ng

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const resolve = require('resolve');
88
const exit = require('exit');
99
const packageJson = require('../package.json');
1010
const Leek = require('leek');
11-
const fs = require('fs');
1211

1312
resolve('angular-cli', { basedir: process.cwd() },
1413
function (error, projectLocalCli) {
@@ -29,10 +28,6 @@ resolve('angular-cli', { basedir: process.cwd() },
2928
cli = cli['default'];
3029
}
3130

32-
if ('default' in cli) {
33-
cli = cli['default'];
34-
}
35-
3631
cli({
3732
cliArgs: process.argv.slice(2),
3833
inputStream: process.stdin,

0 commit comments

Comments
 (0)