Подготовка к работе с внешними конвертерами

This commit is contained in:
Book Pauk
2019-02-27 20:00:55 +07:00
parent d3ff0edbff
commit 528adae3d0
7 changed files with 43 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ class ConvertFb2 extends ConvertBase {
return (dataType && dataType.ext == 'xml' && data.toString().indexOf('<FictionBook') >= 0);
}
run(data, opts) {
async run(data, opts) {
if (!this.check(data, opts))
return false;