diff --git a/shortcuts/sheets/execute_paths_test.go b/shortcuts/sheets/execute_paths_test.go index 9470a3c85..8cd24bb25 100644 --- a/shortcuts/sheets/execute_paths_test.go +++ b/shortcuts/sheets/execute_paths_test.go @@ -401,7 +401,6 @@ func TestExecute_WorkbookCreate_EmptyArraysSkipFill(t *testing.T) { {"empty values", "--values", "[]"}, {"empty headers", "--headers", "[]"}, } { - tc := tc t.Run(tc.name, func(t *testing.T) { t.Parallel() create := &httpmock.Stub{ diff --git a/shortcuts/sheets/flag_view.go b/shortcuts/sheets/flag_view.go index 1d906baf0..c369d538e 100644 --- a/shortcuts/sheets/flag_view.go +++ b/shortcuts/sheets/flag_view.go @@ -272,7 +272,7 @@ func (m mapFlagView) validateRawTypes() error { } defs, err := loadFlagDefs() if err != nil { - return nil + return nil //nolint:nilerr // fail-open: if flag-defs can't load, skip type validation rather than block the batch } spec, ok := defs[m.command] if !ok {