Skip to content

Commit

Permalink
fix grep destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl committed Sep 12, 2023
1 parent d768657 commit 70016a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ${JSON.stringify(cypressConfigFile, null, 2)}

const isGrepReturnedFilePaths = _.isArray(grepSpecPattern);
const isGrepReturnedSpecPattern = !isGrepReturnedFilePaths && grepSpecPattern === specPattern;
const { grepFilterSpecs } = cypressConfigFile.env;
const grepFilterSpecs = cypressConfigFile.env?.grepFilterSpecs;

// IMPORTANT!
// When grep returns the same spec pattern as it gets in its arguments, we treat it as
Expand Down

0 comments on commit 70016a2

Please sign in to comment.