Skip to content

Commit

Permalink
fix: remove listening shim
Browse files Browse the repository at this point in the history
the shim was only needed for versions < Node 5.7.0
  • Loading branch information
gurpreetatwal committed Jul 22, 2018
1 parent 484fe70 commit 1c78801
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 115 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
'use strict';

const server = require('./lib/server');
const shim = require('./lib/listening-shim');

shim.register(require('net').Server);

function incito(arg) {

const instance = server.create(arg);

if (!instance.listening) {
Expand Down
32 changes: 0 additions & 32 deletions lib/listening-shim.js

This file was deleted.

79 changes: 0 additions & 79 deletions test/lib/listening-shim.js

This file was deleted.

0 comments on commit 1c78801

Please sign in to comment.