fix(assetloader): name embedDirectiveLiteral return values to satisfy gocritic

This commit is contained in:
Hein
2026-07-20 13:59:19 +02:00
parent f0410221d8
commit 17ae8e050a
+1 -1
View File
@@ -51,7 +51,7 @@ func ProcessEmbedDirectives(sqlPath, sql string) (string, error) {
return result, nil
}
func embedDirectiveLiteral(sqlPath, raw string, directiveNumber int) (string, string, error) {
func embedDirectiveLiteral(sqlPath, raw string, directiveNumber int) (literal, placeholder string, err error) {
attrs, err := parseEmbedAttrs(raw)
if err != nil {
return "", "", fmt.Errorf("%s embed directive %d: %w", sqlPath, directiveNumber, err)