From 5e00a013eb219716d952cb8eb29a134c00f5db54 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 21 Mar 2018 22:42:35 -0700 Subject: lib,test: lint fixes for linter upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ESLint 4.19.1 fixes some bugs in rules. These changes prepare us for the upgrade. PR-URL: https://github.com/nodejs/node/pull/19528 Reviewed-By: Michaƫl Zasso Reviewed-By: Daniel Bevenius Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- lib/internal/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/internal/util.js') diff --git a/lib/internal/util.js b/lib/internal/util.js index d044f32ca5..89bba47c90 100644 --- a/lib/internal/util.js +++ b/lib/internal/util.js @@ -22,7 +22,7 @@ const noCrypto = !process.versions.openssl; const experimentalWarnings = new Set(); -const colorRegExp = /\u001b\[\d\d?m/g; +const colorRegExp = /\u001b\[\d\d?m/g; // eslint-disable-line no-control-regex function removeColors(str) { return str.replace(colorRegExp, ''); -- cgit v1.2.3