diff --git a/src/model/page-analyzer.js b/src/model/page-analyzer.js index 31237d0..2e97cf7 100644 --- a/src/model/page-analyzer.js +++ b/src/model/page-analyzer.js @@ -225,7 +225,7 @@ class PageAnalyzer { break; } } - + resolve(result); } catch(e) { reject(e); } finally { @@ -233,8 +233,6 @@ class PageAnalyzer { await this.close(); } catch (e) {/* no-op */} } - - resolve(result); }); } @@ -311,6 +309,10 @@ class PageAnalyzer { } } + get abandoned() { + return this._abandoned; + } + /** * Test if the value lives up to the requirements for being a match * @param value