Show More
@@ -40,9 +40,9 b" impl<'a> Command for CatCommand<'a> {" | |||||
40 | let normalized = cwd.join(&file); |
|
40 | let normalized = cwd.join(&file); | |
41 | let stripped = normalized |
|
41 | let stripped = normalized | |
42 | .strip_prefix(&root) |
|
42 | .strip_prefix(&root) | |
43 |
. |
|
43 | .or(Err(CommandErrorKind::Abort(None)))?; | |
44 | let hg_file = HgPathBuf::try_from(stripped.to_path_buf()) |
|
44 | let hg_file = HgPathBuf::try_from(stripped.to_path_buf()) | |
45 |
. |
|
45 | .or(Err(CommandErrorKind::Abort(None)))?; | |
46 | files.push(hg_file); |
|
46 | files.push(hg_file); | |
47 | } |
|
47 | } | |
48 |
|
48 |
General Comments 0
You need to be logged in to leave comments.
Login now