From dc1242a107b35d777b7366d4411e8f2208ac33bc Mon Sep 17 00:00:00 2001 From: Ivan Shcheklein Date: Sat, 9 Feb 2019 18:57:15 -0800 Subject: [PATCH] fix error messages in metrics show --- dvc/project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/project.py b/dvc/project.py index 864928b1f..a81309e7f 100644 --- a/dvc/project.py +++ b/dvc/project.py @@ -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."