From 80cd2cccb960ddee367bb3033aff7d8079ae5796 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Fri, 19 Feb 2021 16:48:34 +0100 Subject: [PATCH] Fixed linting --- apps/remix-ide-e2e/src/commands/testFunction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/testFunction.ts b/apps/remix-ide-e2e/src/commands/testFunction.ts index e422c8a242..39587a5f58 100644 --- a/apps/remix-ide-e2e/src/commands/testFunction.ts +++ b/apps/remix-ide-e2e/src/commands/testFunction.ts @@ -8,7 +8,7 @@ class TestFunction extends EventEmitter { const browser = this.api const logs = {} 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