Commit 61ec71ad authored by Ivanq's avatar Ivanq

Hg: Fix getTagList()

parent c84cf943
......@@ -360,7 +360,7 @@ class Hg {
return this.readBranchCommit(branch)
.then(commit => {
return this.readTreeItem(commit.content.tree, ".hgtags")
.catch(() => []);
.catch(() => ({content: []}));
})
.then(hgTags => {
return this.arrayToString(hgTags.content)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment