This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch 11648 in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
commit 2ef52e760e740a28d2afed31f467266a9f1477a1 Author: kezhenxu94 <[email protected]> AuthorDate: Fri Jan 9 23:04:52 2026 +0800 fix: improve error message formatting in license template lookup --- pkg/header/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/header/config.go b/pkg/header/config.go index 98438e7..4568e51 100644 --- a/pkg/header/config.go +++ b/pkg/header/config.go @@ -208,7 +208,7 @@ func readLicenseFromSpdx(config *ConfigHeader) (string, error) { content, err := assets.Asset(filename) if err != nil { - return "", fmt.Errorf("failed to find a license template for spdx id %v, %w", spdxID, err) + return "", fmt.Errorf(`failed to find a license template for spdx id "%v", %w`, spdxID, err) } return string(content), nil }
