feat-dev: support firefox for windows and macos

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2022-04-17 16:42:36 +08:00
1 parent 88fe9c96db
commit 4d444891ab
17 files changed
+384 -216

No files matched your search

-2
View File
@@ -3,7 +3,6 @@ package outputter
import (
"encoding/csv"
"errors"
"fmt"
"io"
"os"
"path/filepath"
@@ -73,7 +72,6 @@ func (o *outPutter) CreateFile(dirname, filename string) (*os.File, error) {
var err error
p := filepath.Join(dirname, filename)
file, err = os.OpenFile(p, os.O_TRUNC|os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666)
fmt.Println(err)
if err != nil {
return nil, err
}