|
@@ -90,7 +90,7 @@ exports.getPageData = async options => {
|
|
|
const singleFile = new SingleFile(options);
|
|
const singleFile = new SingleFile(options);
|
|
|
await singleFile.initialize();
|
|
await singleFile.initialize();
|
|
|
await singleFile.run();
|
|
await singleFile.run();
|
|
|
- return singleFile.getPageData();
|
|
|
|
|
|
|
+ return await singleFile.getPageData();
|
|
|
}, options);
|
|
}, options);
|
|
|
} finally {
|
|
} finally {
|
|
|
if (browser) {
|
|
if (browser) {
|