jw.pkg.cmds.projects.CmdProjectDir: Fix warning typo

Trying to find the directory of a project should log a warning. It
throws an exception instead. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-02 15:56:16 +01:00
commit a55dd8175c

View file

@ -20,7 +20,7 @@ class CmdProjDir(Cmd): # export
for m in args.module:
path = self.app.find_dir(m)
if path is None:
log(WARNING, f'No project directory for module "{m}: {e}')
log(WARNING, f'No project directory for module "{m}"')
continue
out.append(path)
if out: