| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1eca9bc commit f666f5a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,6 +50,7 @@ const { | |||
| 50 | 50 | SymbolAsyncIterator, | |
| 51 | 51 | } = primordials; | |
| 52 | 52 | const kRejection = SymbolFor('nodejs.rejection'); | |
| 53 | + const { inspect } = require('internal/util/inspect'); | ||
| 53 | 54 | ||
| 54 | 55 | let spliceOne; | |
| 55 | 56 | ||
@@ -63,10 +64,6 @@ const { | |||
| 63 | 64 | }, | |
| 64 | 65 | } = require('internal/errors'); | |
| 65 | 66 | ||
| 66 | - const { | ||
| 67 | - inspect | ||
| 68 | - } = require('internal/util/inspect'); | ||
| 69 | - | ||
| 70 | 67 | const { | |
| 71 | 68 | validateAbortSignal, | |
| 72 | 69 | validateBoolean, | |
@@ -372,7 +369,6 @@ EventEmitter.prototype.emit = function emit(type, ...args) { | |||
| 372 | 369 | } | |
| 373 | 370 | ||
| 374 | 371 | let stringifiedEr; | |
| 375 | - const { inspect } = require('internal/util/inspect'); | ||
| 376 | 372 | try { | |
| 377 | 373 | stringifiedEr = inspect(er); | |
| 378 | 374 | } catch { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments