chore: upgrade eslint and prettier (#2376)

* chore: upgrade eslint and prettier

* chore: add restrict-template-expressions
This commit is contained in:
Mo
2023-07-27 14:36:05 -05:00
committed by GitHub
parent acc41edb02
commit 4a29e2a24c
1283 changed files with 4416 additions and 5131 deletions

View File

@@ -423,7 +423,7 @@ export class MobileDevice implements MobileDeviceInterface {
failOnCancel: false,
})
} catch (error) {
this.consoleLog(`${error}`)
this.consoleLog(error)
} finally {
if (downloadedTempFilePath) {
void this.deleteFileAtPathIfExists(downloadedTempFilePath)
@@ -456,7 +456,7 @@ export class MobileDevice implements MobileDeviceInterface {
await writeFile(path, base64.replace(/data.*base64,/, ''), 'base64')
return path
} catch (error) {
this.consoleLog(`${error}`)
this.consoleLog(error)
}
}