From 57a1b5fb5d3d788389ce2ddee23cd53d03af1315 Mon Sep 17 00:00:00 2001 From: "pixeebot[bot]" <104101892+pixeebot[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 03:13:05 +0000 Subject: [PATCH] (Sonar) Fixed finding: "Unnecessary character escapes should be removed" --- tests/cli_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli_test.js b/tests/cli_test.js index e6d2975..bef741b 100644 --- a/tests/cli_test.js +++ b/tests/cli_test.js @@ -85,7 +85,7 @@ tape('cli should accept single JS file', (test) => { tape('cli should read match argument', (test) => { test.plan(1); - execFile('node', [pkg.bin, '-o', 'tmp/inline', '-v', '--match', '\\\.min\\\.js$', 'tests/fixtures'], null, (error, stdout) => { + execFile('node', [pkg.bin, '-o', 'tmp/inline', '-v', '--match', "\\.min\\.js$", 'tests/fixtures'], null, (error, stdout) => { if (error) { test.fail(error); }