fix(lua): skip rockspec with no package name (#4825)

---------
Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
Co-authored-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
Matt Van Horn
2026-08-21 17:36:47 -04:00
committed by GitHub
co-authored by Christopher Phillips
parent 7ca1f22395
commit bf82010f3c
6 changed files with 73 additions and 2 deletions
+5
View File
@@ -74,6 +74,11 @@ func parseRockspec(ctx context.Context, resolver file.Resolver, _ *generic.Envir
}
}
if name == "" {
log.WithFields("path", reader.Path()).Trace("rockspec has no package name, skipping")
return nil, nil, nil
}
p := newLuaRocksPackage(
ctx,
resolver,