(fileName: string)
| 45 | }; |
| 46 | |
| 47 | function checkFileName(fileName: string) { |
| 48 | const disableList = ['"', "'", "?", "|", "&"]; |
| 49 | for (const iterator of disableList) { |
| 50 | if (fileName.includes(iterator)) return false; |
| 51 | } |
| 52 | return true; |
| 53 | } |
| 54 | |
| 55 | export async function compress( |
| 56 | sourceZip: string, |
no outgoing calls
no test coverage detected