From 21a806b491c7a21128e6f661aa48a36b1cec63ad Mon Sep 17 00:00:00 2001 From: Arsen6331 Date: Sat, 5 Nov 2022 18:13:18 +0000 Subject: [PATCH] Fix licenses variable name --- internal/analyze/analyze.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/analyze/analyze.go b/internal/analyze/analyze.go index 52b6991..a0312d7 100644 --- a/internal/analyze/analyze.go +++ b/internal/analyze/analyze.go @@ -153,7 +153,7 @@ func AnalyzeScript(r *interp.Runner, fl *syntax.File) ([]Finding, error) { }) continue } - case "licenses": + case "license": valSlice, ok := mustBeArray(val, name, &findings) if !ok { continue