From 45b3afdd33fac960ee616fca54be903f5babd5da Mon Sep 17 00:00:00 2001 From: yaling888 <73897884+yaling888@users.noreply.github.com> Date: Sun, 30 Jan 2022 01:49:27 +0800 Subject: [PATCH] Fix: new version golangci-lint check --- config/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index fe8b7f19..2d995bee 100644 --- a/config/config.go +++ b/config/config.go @@ -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") } - content := - `# -*- coding: UTF-8 -*- + content := `# -*- coding: UTF-8 -*- from datetime import datetime as whatever