mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
benchmark: small lint fix on _cli.js
PR-URL: https://github.com/nodejs/node/pull/59172 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
parent
f389aae2d0
commit
d5b815c9ea
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ CLI.prototype.getCpuCoreSetting = function() {
|
|||
const isValid = /^(\d+(-\d+)?)(,\d+(-\d+)?)*$/.test(value);
|
||||
if (!isValid) {
|
||||
throw new Error(`
|
||||
Invalid CPUSET format: "${value}". Please use a single core number (e.g., "0"),
|
||||
a range of cores (e.g., "0-3"), or a list of cores/ranges
|
||||
Invalid CPUSET format: "${value}". Please use a single core number (e.g., "0"),
|
||||
a range of cores (e.g., "0-3"), or a list of cores/ranges
|
||||
(e.g., "0,2,4" or "0-2,4").\n\n${this.usage}
|
||||
`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue