jw.pkg.App.get_libname(): Fix typo

get_project_refs() is invoked with projects_only=true, which should
read names_only. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-04 15:59:54 +01:00
commit eaa38113bb

View file

@ -433,7 +433,7 @@ class App(Base):
def get_libname(self, projects) -> str:
vals = self.get_project_refs(projects, ['build'], 'libname',
scope = Scope.One, add_self=False, projects_only=True)
scope = Scope.One, add_self=False, names_only=True)
if not vals:
return ' '.join(projects)
if 'none' in vals: