Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup circular ref
  • Loading branch information
guybedford committed Feb 4, 2020
commit 368546881e9f250ec56caebd7ee606658bc7cf63
3 changes: 2 additions & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const {
SymbolFor,
WeakMap,
} = primordials;
const { sep } = require('path');

const messages = new Map();
const codes = {};
Expand Down Expand Up @@ -713,6 +712,8 @@ module.exports = {
fatalExceptionStackEnhancers
};

const { sep } = require('path');

// To declare an error message, use the E(sym, val, def) function above. The sym
// must be an upper case string. The val can be either a function or a string.
// The def must be an error class.
Expand Down