From c77e191582a9d727fec6a53e93597d2dda595aa2 Mon Sep 17 00:00:00 2001 From: Jakob Krigovsky Date: Sat, 3 Oct 2020 19:10:58 +0200 Subject: [PATCH] Fix error when Yarn cannot find test script (#567) --- source/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.js b/source/index.js index f03dadee..43a1c98b 100644 --- a/source/index.js +++ b/source/index.js @@ -156,7 +156,7 @@ module.exports = async (input = 'patch', options) => { enabled: () => options.yarn === true, task: () => exec('yarn', testCommand).pipe( catchError(error => { - if (error.message.includes(`Command “${testScript}” not found`)) { + if (error.message.includes(`Command "${testScript}" not found`)) { return []; }