forked from fair/matrix-puppeteer-line
Fix non-interpolated log message
This commit is contained in:
parent
6e7de546cb
commit
d4ab8b90d2
|
@ -109,7 +109,7 @@ export default class MessagesPuppeteer {
|
||||||
await this.page.waitForSelector(selector, 0)
|
await this.page.waitForSelector(selector, 0)
|
||||||
const lineDetails = await this.page.$eval(selector, e => e.innerText)
|
const lineDetails = await this.page.$eval(selector, e => e.innerText)
|
||||||
const uuid = lineDetails.match(/(.*) : LINE : version/)[1]
|
const uuid = lineDetails.match(/(.*) : LINE : version/)[1]
|
||||||
this.log("Found extension UUID ${uuid}")
|
this.log(`Found extension UUID ${uuid}`)
|
||||||
MessagesPuppeteer.url = `chrome-extension://${uuid}/index.html`
|
MessagesPuppeteer.url = `chrome-extension://${uuid}/index.html`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue