fix error messages in metrics show

This commit is contained in:
Ivan Shcheklein
2019-02-09 18:57:15 -08:00
parent 17c6858ad3
commit dc1242a107
+2 -2
View File
@@ -1154,7 +1154,7 @@ class Project(object):
if os.path.isdir(path):
logger.warning(
"Path '{path}' is a directory. "
"Consider runnig with '-R'.".format(path=path)
"Consider running with '-R'.".format(path=path)
)
return {}
@@ -1202,7 +1202,7 @@ class Project(object):
return res
if path:
msg = "file '{}' does not exist".format(path)
msg = "file '{}' does not exist or malformed".format(path)
else:
msg = (
"no metric files in this repository."