Show missing files in the output of pisi check
This commit is contained in:
@@ -45,6 +45,7 @@ def check_files(files, check_config=False):
|
|||||||
else:
|
else:
|
||||||
ctx.ui.info(_("OK"), verbose=True)
|
ctx.ui.info(_("OK"), verbose=True)
|
||||||
else:
|
else:
|
||||||
|
ctx.ui.error("\nMissing file: /%s" % f.path)
|
||||||
results['missing'].append(f.path)
|
results['missing'].append(f.path)
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user