From d5b815c9ea59ef508c19281584f9276b1a4ef178 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Thu, 24 Jul 2025 14:17:52 -0300 Subject: [PATCH] benchmark: small lint fix on _cli.js PR-URL: https://github.com/nodejs/node/pull/59172 Reviewed-By: Moshe Atlow Reviewed-By: Benjamin Gruenbaum --- benchmark/_cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/_cli.js b/benchmark/_cli.js index 583da8f6b2..990e37b67c 100644 --- a/benchmark/_cli.js +++ b/benchmark/_cli.js @@ -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} `); }