Committed v3.0.0

This commit is contained in:
MickMake 2022-12-15 21:15:24 +11:00
parent 35940a0219
commit 9c90783e4f
2 changed files with 3 additions and 12 deletions

View File

@ -691,7 +691,7 @@ const DefaultMqttFile = `{
],
"exclude": [
]
}
},
"getPsDetail": {
"include": [
"virtual.*"
@ -700,4 +700,4 @@ const DefaultMqttFile = `{
]
}
}
`
`

11
main.go
View File

@ -3,7 +3,6 @@ package main
import (
"GoSungrow/cmd"
"fmt"
"github.com/MickMake/GoUnify/Only"
"os"
)
@ -12,15 +11,7 @@ import (
func main() {
var err error
for range Only.Once {
err = cmd.Execute()
if err != nil {
break
}
}
err := cmd.Execute()
if err != nil {
_, _ = fmt.Fprintf(os.Stderr, "ERROR: %s\n", err)
os.Exit(1)