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: matchers:
- type: regex - type: regex
regex: regex:
- "require\\('adm-zip'\\)" - "require\\\\('adm-zip'\\\\)"
- "\.forEach\\(function .*\\(.*, \.\*\\) \{" - "\\.forEach\\(function .*\\(.*, \\.\\*\\) \\{"
- "\.createWriteStream\\(.*\) \}, \.\*\\)" - "\\.createWriteStream\\(.*\\) \\}, \\.\\*\\)"
- "\.writeFile\\(.*\)" - "\\.writeFile\\(.*\\)"
- "\.writeFileSync\\(.*\) \}, \.\*\\)" - "\\.writeFileSync\\(.*\\) \\}, \\.\\*\\)"
condition: or condition: or