aboutsummaryrefslogtreecommitdiff
path: root/lib/internal/process.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/process.js')
-rw-r--r--lib/internal/process.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/internal/process.js b/lib/internal/process.js
index 21a74abba7..ff5ea58dda 100644
--- a/lib/internal/process.js
+++ b/lib/internal/process.js
@@ -28,12 +28,12 @@ function setup_cpuUsage() {
if (prevValue) {
if (!previousValueIsValid(prevValue.user)) {
throw new errors.TypeError('ERR_INVALID_ARG_TYPE',
- 'preValue.user', 'Number');
+ 'preValue.user', 'number');
}
if (!previousValueIsValid(prevValue.system)) {
throw new errors.TypeError('ERR_INVALID_ARG_TYPE',
- 'preValue.system', 'Number');
+ 'preValue.system', 'number');
}
}
@@ -154,7 +154,7 @@ function setupKillAndExit() {
// eslint-disable-next-line eqeqeq
if (pid != (pid | 0)) {
- throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'pid', 'Number');
+ throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'pid', 'number');
}
// preserve null signal