Skip to content

Commit c77e191

Browse files
authoredOct 3, 2020
Fix error when Yarn cannot find test script (#567)
1 parent 5689d51 commit c77e191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎source/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ module.exports = async (input = 'patch', options) => {
156156
enabled: () => options.yarn === true,
157157
task: () => exec('yarn', testCommand).pipe(
158158
catchError(error => {
159-
if (error.message.includes(`Command ${testScript} not found`)) {
159+
if (error.message.includes(`Command "${testScript}" not found`)) {
160160
return [];
161161
}
162162

0 commit comments

Comments
 (0)
Please sign in to comment.