Reformat
diff --git a/src/reflex/scanners.ts b/src/reflex/scanners.ts
index 7c75416..80ca150 100644
--- a/src/reflex/scanners.ts
+++ b/src/reflex/scanners.ts
@@ -23,13 +23,12 @@
errored?: boolean;
}
-
const nsfw_model = await nsfwjs.load("file://dist/reflex/nsfwjs/example/nsfw_demo/public/model/", { size: 299 });
const clamscanner = await new ClamScan().init({
clamdscan: {
- socket: "socket" in config.clamav ? config.clamav.socket as string : false,
- host: "host" in config.clamav ? config.clamav.host as string : false,
- port: "port" in config.clamav ? config.clamav.port as number : false,
+ socket: "socket" in config.clamav ? (config.clamav.socket as string) : false,
+ host: "host" in config.clamav ? (config.clamav.host as string) : false,
+ port: "port" in config.clamav ? (config.clamav.port as number) : false
}
});