add more test (#189)
* new test * import bug when with quotation * new test * add test condition * rpc template command use -o param Co-authored-by: kim <xutao@xiaoheiban.cn>
This commit is contained in:
@@ -94,7 +94,6 @@ func ApiFormatByPath(apiFilePath string) error {
|
||||
}
|
||||
|
||||
func apiFormat(data string) (string, error) {
|
||||
|
||||
r := reg.ReplaceAllStringFunc(data, func(m string) string {
|
||||
parts := reg.FindStringSubmatch(m)
|
||||
if len(parts) < 2 {
|
||||
|
||||
Reference in New Issue
Block a user