We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb139f commit 60da4a3Copy full SHA for 60da4a3
gazelle/python/generate.go
@@ -309,7 +309,7 @@ func (py *Python) GenerateRules(args language.GenerateArgs) language.GenerateRes
309
build()
310
311
if pyLibrary.IsEmpty(py.Kinds()[pyLibrary.Kind()]) {
312
- result.Empty = append(result.Gen, pyLibrary)
+ result.Empty = append(result.Empty, pyLibrary)
313
} else {
314
result.Gen = append(result.Gen, pyLibrary)
315
result.Imports = append(result.Imports, pyLibrary.PrivateAttr(config.GazelleImportsKey))
0 commit comments