aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-30 13:16:23 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-30 13:16:23 +0100
commit98ec8b8e73a918d5680e6f13aaef56ca8756c2a8 (patch)
treea61c6797188227d1d07e3d9f91b8ea09684406c7 /scripts
parent1b5b10d13152d704d2396a1e53d56aba1a8e7e03 (diff)
downloadPeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.gz
PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.zst
PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.zip
Fix lint
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis.sh4
-rwxr-xr-xscripts/update-host.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index e0a59806a..f24aac885 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -5,9 +5,9 @@ if [ $# -eq 0 ]; then
5 exit -1 5 exit -1
6fi 6fi
7 7
8if [ "$1" = "client" ]; then 8if [ "$1" = "misc" ]; then
9 npm run build 9 npm run build
10 mocha --exit --require ts-node/register --bail server/tests/client.ts 10 mocha --exit --require ts-node/register --bail server/tests/client.ts server/tests/activitypub.ts
11elif [ "$1" = "api" ]; then 11elif [ "$1" = "api" ]; then
12 npm run build:server 12 npm run build:server
13 mocha --exit --require ts-node/register --bail server/tests/api/index.ts 13 mocha --exit --require ts-node/register --bail server/tests/api/index.ts
diff --git a/scripts/update-host.ts b/scripts/update-host.ts
index 4410e1ff7..759443623 100755
--- a/scripts/update-host.ts
+++ b/scripts/update-host.ts
@@ -6,7 +6,7 @@ db.init(true)
6 return getServerAccount() 6 return getServerAccount()
7 }) 7 })
8 .then(serverAccount => { 8 .then(serverAccount => {
9 return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ]) 9 return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ], undefined)
10 }) 10 })
11 .then(res => { 11 .then(res => {
12 return res.total > 0 12 return res.total > 0