diff options
author | Yuchen Pei <hi@ypei.me> | 2022-04-07 12:17:38 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-04-07 12:17:38 +1000 |
commit | ae25ad78906179e1448ff7d97957810e2be40206 (patch) | |
tree | ca56b583f36ccd317900e6b51c4fcd86f161bc56 /common/Test.js | |
parent | 52398eafaf99ebbba7ff5a28b832830be394bf1d (diff) |
nop whitespace formatting change.
- ran eglot-format using typescript-language-server on all js files in
the repo except those under /hash_script/
- verify only whitespace changed:
git diff --word-diff-regex=. 62d6a71 62d6a71~1
Diffstat (limited to 'common/Test.js')
-rw-r--r-- | common/Test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/Test.js b/common/Test.js index e272d1e..7acbfa0 100644 --- a/common/Test.js +++ b/common/Test.js @@ -40,11 +40,11 @@ var Test = (() => { async getTab(activate = false) { let url = await this.getURL(); - let tab = url ? (await browser.tabs.query({url}))[0] || - (await browser.tabs.create({url})) + let tab = url ? (await browser.tabs.query({ url }))[0] || + (await browser.tabs.create({ url })) : null; if (tab && activate) { - await browser.tabs.update(tab.id, {active: true}); + await browser.tabs.update(tab.id, { active: true }); } return tab; } |