Commit 80cd2ccc authored by ioedeveloper's avatar ioedeveloper

Fixed linting

parent 638178dd
...@@ -8,7 +8,7 @@ class TestFunction extends EventEmitter { ...@@ -8,7 +8,7 @@ class TestFunction extends EventEmitter {
const browser = this.api const browser = this.api
const logs = {} const logs = {}
const setLog = (index: number, value: string) => { const setLog = (index: number, value: string) => {
logs[Object.keys(logs)[index]] = typeof value === 'string' ? value.indexOf('Copy value to clipboard') ? value.split('\n').shift().trim(): value.trim() : value logs[Object.keys(logs)[index]] = typeof value === 'string' ? value.indexOf('Copy value to clipboard') ? value.split('\n').shift().trim() : value.trim() : value
} }
browser browser
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment