commit | 7056a3d2e0617011930c56ebe2d62d6f38650451 | [log] [tgz] |
---|---|---|
author | PineappleFan <pineapplefanyt@gmail.com> | Thu Mar 30 20:52:45 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Mar 30 20:52:45 2023 +0100 |
tree | 35b36d7b5f6eaea16d3103378c07254292a7607b | |
parent | 0786898b6ed1d9b29a1e62274e1ced5df45dd8e4 [diff] [blame] |
Default to file not being malware
diff --git a/src/reflex/scanners.ts b/src/reflex/scanners.ts index 6d3fc71..f64a520 100644 --- a/src/reflex/scanners.ts +++ b/src/reflex/scanners.ts
@@ -67,7 +67,7 @@ try { malware = (await clamscanner.scanFile(fileName)).isInfected; } catch (e) { - return { malware: true }; + return { malware: false }; } await client.database.scanCache.write(hash, "malware", malware); return { malware };