Fix: new version golangci-lint check

This commit is contained in:
yaling888 2022-01-30 01:49:27 +08:00
parent 875fdb3a5b
commit 45b3afdd33

View file

@ -434,8 +434,7 @@ func parseScript(cfg *RawConfig) error {
return fmt.Errorf("initialized script module failure, can't find script code in the config file") return fmt.Errorf("initialized script module failure, can't find script code in the config file")
} }
content := content := `# -*- coding: UTF-8 -*-
`# -*- coding: UTF-8 -*-
from datetime import datetime as whatever from datetime import datetime as whatever