Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit a63448a

Browse files
Fix linter regressions
1 parent 4646216 commit a63448a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/depject/invite/invite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.create = function (api) {
2626

2727
if (!data) return cb(new Error('Not a valid invite code. Please make sure you copied the entire code and try again.'))
2828

29-
api.sbot.async.connRememberConnect(data.remote, {type: 'pub'}, (err) => {
29+
api.sbot.async.connRememberConnect(data.remote, { type: 'pub' }, (err) => {
3030
if (err) console.log(err)
3131
})
3232

lib/depject/page/html/render/public.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ exports.create = function (api) {
107107
return result
108108

109109
function getSidebar () {
110-
const whoToFollow = computed([api.profile.obs.recentlyUpdated(), following, blocking, localPeersKeys ], (recent, ...ignoreFeeds) => {
110+
const whoToFollow = computed([api.profile.obs.recentlyUpdated(), following, blocking, localPeersKeys], (recent, ...ignoreFeeds) => {
111111
return recent.filter(x => x !== id && !ignoreFeeds.some(f => f.includes(x))).slice(0, 10)
112112
})
113113
return [

lib/depject/sbot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ exports.create = function (api) {
204204
sbot.conn.connect(address, data, cb)
205205
}),
206206
connRememberConnect: rec.async(function (address, data, cb) {
207-
sbot.conn.remember(address, {autoconnect: true, ...data}, (err) => {
207+
sbot.conn.remember(address, { autoconnect: true, ...data }, (err) => {
208208
if (err) cb(err)
209209
else sbot.conn.connect(address, data, cb)
210210
})

lib/plugins/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ exports.init = function (ssb, config) {
120120
if (!blocking) {
121121
discovered.add(address.key)
122122
try {
123-
const msAddr = ref.toMultiServerAddress(address);
124-
ssb.conn.remember(msAddr, {type: 'pub', key: address.key, autoconnect: true});
123+
const msAddr = ref.toMultiServerAddress(address)
124+
ssb.conn.remember(msAddr, { type: 'pub', key: address.key, autoconnect: true })
125125
} catch (err) {}
126126
}
127127
}

0 commit comments

Comments
 (0)