debug: fix default repl overwriteBefore

This commit is contained in:
isidor 2017-02-23 16:40:08 +01:00
parent 7050c21a90
commit 73c6d0c614

View file

@ -607,7 +607,7 @@ export class Process implements debug.IProcess {
insertText: item.text || item.label,
type: item.type,
filterText: item.start && item.length && text.substr(item.start, item.length),
overwriteBefore: item.length
overwriteBefore: item.length || overwriteBefore
})) : [];
}, err => []);
}