diff --git a/bee.go b/bee.go index 17efccf..11f2352 100644 --- a/bee.go +++ b/bee.go @@ -25,7 +25,7 @@ import ( "strings" ) -const version = "1.4.0" +const version = "1.4.1" type Command struct { // Run runs the command. diff --git a/fix.go b/fix.go index 5500563..e5d2344 100644 --- a/fix.go +++ b/fix.go @@ -39,6 +39,9 @@ func runFix(cmd *Command, args []string) int { if err != nil { return err } + if strings.HasSuffix(info.Name(), ".exe") { + return nil + } ColorLog("%s\n", path) err = fixFile(path) if err != nil { @@ -146,6 +149,7 @@ var rules = []string{ "OperatorSql", "OperatorSQL", "orm.Debug_Queries", "orm.DebugQueries", "orm.COMMA_SPACE", "orm.CommaSpace", + ".SendOut()", ".DoRequest()", } func fixFile(file string) error {