From a518e80185ada629045ae28a51bacf66f408930b Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Mon, 21 Jul 2025 02:25:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B8=85=E7=90=86=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common/Output.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Common/Output.go b/Common/Output.go index 0d6c97c..c947e3e 100644 --- a/Common/Output.go +++ b/Common/Output.go @@ -67,18 +67,6 @@ func InitOutput() error { return fmt.Errorf(GetText("output_create_dir_failed", err)) } - if ApiAddr != "" { - OutputFormat = "csv" - Outputfile = filepath.Join(dir, "fscanapi.csv") - Num = 0 - End = 0 - if _, err := os.Stat(Outputfile); err == nil { - if err := os.Remove(Outputfile); err != nil { - return fmt.Errorf(GetText("output_file_remove_failed", err)) - } - } - } - manager := &OutputManager{ outputPath: Outputfile, outputFormat: OutputFormat,