Update admzip-path-overwrite.yaml

patch-1
Prince Chaddha 2023-06-28 10:49:55 +05:30 committed by GitHub
parent 9c07d92e4e
commit 15ca31a15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -14,9 +14,9 @@ file:
matchers:
- type: regex
regex:
- "require\\('adm-zip'\\)"
- "\.forEach\\(function .*\\(.*, \.\*\\) \{"
- "\.createWriteStream\\(.*\) \}, \.\*\\)"
- "\.writeFile\\(.*\)"
- "\.writeFileSync\\(.*\) \}, \.\*\\)"
- "require\\\\('adm-zip'\\\\)"
- "\\.forEach\\(function .*\\(.*, \\.\\*\\) \\{"
- "\\.createWriteStream\\(.*\\) \\}, \\.\\*\\)"
- "\\.writeFile\\(.*\\)"
- "\\.writeFileSync\\(.*\\) \\}, \\.\\*\\)"
condition: or