Skip to content

Commit 30b22a6

Browse files
cjihrigtargos
authored andcommitted
os: destructure ERR_SYSTEM_ERROR properly
PR-URL: #22394 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 3b44053 commit 30b22a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/os.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const constants = process.binding('constants').os;
2626
const { deprecate } = require('internal/util');
2727
const isWindows = process.platform === 'win32';
2828

29-
const { ERR_SYSTEM_ERROR } = require('internal/errors');
29+
const { codes: { ERR_SYSTEM_ERROR } } = require('internal/errors');
3030

3131
const {
3232
getCPUs,

0 commit comments

Comments
 (0)