[EDR Workflows] Change grepFilter destructuring (#166254)

This commit is contained in:
Tomasz Ciecierski 2023-09-14 23:41:42 +02:00 committed by GitHub
parent 33108a1638
commit df996362bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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