Commit 78c420d8 authored by Ivanq's avatar Ivanq

Handle manifest with '\n' only

parent ed163e6f
......@@ -535,7 +535,10 @@ class Hg {
};
});
if(items.slice(-1)[0].name == "") {
if(items.length && items.slice(-1)[0].name == "") {
items.pop();
}
if(items.length && items.slice(-1)[0].name == "") {
items.pop();
}
......
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