aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-17 10:55:40 +0200
committerChocobozzz <me@florianbigard.com>2020-06-17 11:42:50 +0200
commitfaa9d434b4d681837ff2a87603337c2623419669 (patch)
tree1f3c798dd6fd5f2dcbb019978f063f448c019974 /server/tools
parent982f2fc9b42537ca40ff29bf62c1ca3692d4b587 (diff)
downloadPeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.gz
PeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.zst
PeerTube-faa9d434b4d681837ff2a87603337c2623419669.zip
Update server dependencies
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/peertube-auth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts
index c1a804f83..74bce7314 100644
--- a/server/tools/peertube-auth.ts
+++ b/server/tools/peertube-auth.ts
@@ -28,7 +28,7 @@ async function delInstance (url: string) {
28async function setInstance (url: string, username: string, password: string, isDefault: boolean) { 28async function setInstance (url: string, username: string, password: string, isDefault: boolean) {
29 const [ settings, netrc ] = await Promise.all([ getSettings(), getNetrc() ]) 29 const [ settings, netrc ] = await Promise.all([ getSettings(), getNetrc() ])
30 30
31 if (settings.remotes.indexOf(url) === -1) { 31 if (settings.remotes.includes(url) === false) {
32 settings.remotes.push(url) 32 settings.remotes.push(url)
33 } 33 }
34 34