From 98ec8b8e73a918d5680e6f13aaef56ca8756c2a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Nov 2017 13:16:23 +0100 Subject: Fix lint --- scripts/travis.sh | 4 ++-- scripts/update-host.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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 exit -1 fi -if [ "$1" = "client" ]; then +if [ "$1" = "misc" ]; then npm run build - mocha --exit --require ts-node/register --bail server/tests/client.ts + mocha --exit --require ts-node/register --bail server/tests/client.ts server/tests/activitypub.ts elif [ "$1" = "api" ]; then npm run build:server 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) return getServerAccount() }) .then(serverAccount => { - return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ]) + return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ], undefined) }) .then(res => { return res.total > 0 -- cgit v1.2.3