Skip to content

Commit

Permalink
os: destructure ERR_SYSTEM_ERROR properly
Browse files Browse the repository at this point in the history
PR-URL: #22394
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
cjihrig authored and targos committed Sep 3, 2018
1 parent 3b44053 commit 30b22a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/os.js
Expand Up @@ -26,7 +26,7 @@ const constants = process.binding('constants').os;
const { deprecate } = require('internal/util');
const isWindows = process.platform === 'win32';

const { ERR_SYSTEM_ERROR } = require('internal/errors');
const { codes: { ERR_SYSTEM_ERROR } } = require('internal/errors');

const {
getCPUs,
Expand Down

0 comments on commit 30b22a6

Please sign in to comment.