Skip to content

Commit

Permalink
Fixing found issues
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerboydaddy authored and Trott committed Oct 22, 2018
1 parent 61b495a commit 7636912
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
{
// Install legacy getters on the `util` binding for typechecking.
// TODO(addaleax): Turn into a full runtime deprecation.
const { pendingDeprecation } = internalBinding('options').getOptions();
const { pendingDeprecation } = process.binding('config');
const utilBinding = internalBinding('util');
const types = internalBinding('types');
for (const name of [
Expand Down Expand Up @@ -635,9 +635,7 @@
const { kExpandStackSymbol } = NativeModule.require('internal/util');
if (typeof er[kExpandStackSymbol] === 'function')
er[kExpandStackSymbol]();
} catch {
// Nothing to be done about it at this point.
}
} catch (er) {}
return false;
}

Expand Down

0 comments on commit 7636912

Please sign in to comment.