From f184390ddc6157e8581a2f677659aa2bc468c7d7 Mon Sep 17 00:00:00 2001 From: Abinet Debele Date: Wed, 25 Sep 2024 09:24:08 -0700 Subject: [PATCH] lint fix --- .../web/integration-tests/tests/errors/views/script1.min.js | 2 +- .../web/integration-tests/tests/errors/views/script2.min.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/web/integration-tests/tests/errors/views/script1.min.js b/packages/web/integration-tests/tests/errors/views/script1.min.js index e9f18014..6a5b3c2f 100644 --- a/packages/web/integration-tests/tests/errors/views/script1.min.js +++ b/packages/web/integration-tests/tests/errors/views/script1.min.js @@ -15,4 +15,4 @@ limitations under the License. */ document.getElementById('button1').addEventListener('click',function(){throw new Error('Error from script1.js');}); -window.sourceMapIds = window.sourceMapIds || {}; let s; try { throw new Error(); } catch (e) { s = (e.stack.match(/https?:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/) || [])[0]; } s && (window.sourceMapIds[s] = '9663c60664c425cef3b141c167e9b324240ce10ae488726293892b7130266a6b'); \ No newline at end of file +window.sourceMapIds = window.sourceMapIds || {}; let s = ''; try { throw new Error(); } catch (e) { s = (e.stack.match(/https?:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/) || [])[0]; } if (s) {window.sourceMapIds[s] = '9663c60664c425cef3b141c167e9b324240ce10ae488726293892b7130266a6b';} \ No newline at end of file diff --git a/packages/web/integration-tests/tests/errors/views/script2.min.js b/packages/web/integration-tests/tests/errors/views/script2.min.js index d4fadbd2..db6a6738 100644 --- a/packages/web/integration-tests/tests/errors/views/script2.min.js +++ b/packages/web/integration-tests/tests/errors/views/script2.min.js @@ -15,5 +15,4 @@ limitations under the License. */ document.getElementById('button2').addEventListener('click',function(){throw new Error('Error from script2.js');}); -window.sourceMapIds = window.sourceMapIds || {}; let s; try { throw new Error(); } catch (e) { s = (e.stack.match(/https?:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/) || [])[0]; } s && (window.sourceMapIds[s] = '9793573cdc2ab308a0b1996bea14253ec8832bc036210475ded0813cafa27066'); - +window.sourceMapIds = window.sourceMapIds || {}; let s = ''; try { throw new Error(); } catch (e) { s = (e.stack.match(/https?:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/) || [])[0]; } if (s) {window.sourceMapIds[s] = '9663c60664c425cef3b141c167e9b324240ce10ae488726293892b7130266a6b';}