From df15e173fcf862478b75f88bb60f96584b6a49f0 Mon Sep 17 00:00:00 2001 From: gVisor bot 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