Skip to content

Commit

Permalink
assert: reduce internal usage of public require of util
Browse files Browse the repository at this point in the history
PR-URL: #26762
Refs: #26546
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
sasurau4 authored and targos committed Mar 27, 2019
1 parent de353b7 commit db7c4ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const { codes: {
} } = require('internal/errors');
const AssertionError = require('internal/assert/assertion_error');
const { openSync, closeSync, readSync } = require('fs');
const { inspect, types: { isPromise, isRegExp } } = require('util');
const { inspect } = require('internal/util/inspect');
const { isPromise, isRegExp } = require('internal/util/types');
const { EOL } = require('internal/constants');
const { NativeModule } = require('internal/bootstrap/loaders');

Expand Down

0 comments on commit db7c4ac

Please sign in to comment.