aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings-profiles.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:01:54 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commit5a1046bc906a74ca39906a52acc62fc702a658f2 (patch)
tree7c484f245a19d01be9fbf4120cfa222c97363a24 /ext/bg/js/settings-profiles.js
parent63a775ebcafc8d0477bc267ef39e40c4d3283666 (diff)
Update arrow-parens to always
Diffstat (limited to 'ext/bg/js/settings-profiles.js')
-rw-r--r--ext/bg/js/settings-profiles.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings-profiles.js b/ext/bg/js/settings-profiles.js
index 9532e3eb..8c218e97 100644
--- a/ext/bg/js/settings-profiles.js
+++ b/ext/bg/js/settings-profiles.js
@@ -147,7 +147,7 @@ function profileOptionsCreateCopyName(name, profiles, maxUniqueAttempts) {
let i = 0;
while (true) {
const newName = `${prefix}${space}${index}${suffix}`;
- if (i++ >= maxUniqueAttempts || profiles.findIndex(profile => profile.name === newName) < 0) {
+ if (i++ >= maxUniqueAttempts || profiles.findIndex((profile) => profile.name === newName) < 0) {
return newName;
}
if (typeof index !== 'number') {