Fix some tests and add some logs
This commit is contained in:
@@ -2,7 +2,6 @@ package processor
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"modify/utils"
|
||||
"os"
|
||||
@@ -38,7 +37,7 @@ func ApiAdaptor(content string, regex string, lua string) (string, int, int, err
|
||||
LogLevel: "TRACE",
|
||||
}
|
||||
|
||||
commands, err := ProcessRegex(content, command)
|
||||
commands, err := ProcessRegex(content, command, "test")
|
||||
if err != nil {
|
||||
return "", 0, 0, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user