Skip to content

Commit

Permalink
remove unused package requiring
Browse files Browse the repository at this point in the history
This require is made unused by this PR, since it's required within the `if` later, which is much better (only load it if you need it).
  • Loading branch information
thornjad committed Dec 22, 2019
1 parent 316c0dc commit 3d64f84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/http-server
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ var colors = require('colors/safe'),
argv = require('optimist')
.boolean('cors')
.boolean('log-ip')
.argv,
pjson = require('../package.json');

.argv;
var ifaces = os.networkInterfaces();

process.title = 'http-server';
Expand Down

0 comments on commit 3d64f84

Please sign in to comment.