Skip to content
Closed
Changes from all commits
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
errors: replace manual sep code with path.sep
  • Loading branch information
MylesBorins committed Mar 23, 2020
commit 9dd76413dd02a804288b784ee8a0ca729b63fb0a
2 changes: 1 addition & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const {
WeakMap,
} = primordials;

const sep = process.platform === 'win32' ? '\\' : '/';
const { sep } = require('path');

const messages = new Map();
const codes = {};
Expand Down