diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 13:16:23 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 13:16:23 +0100 |
commit | 98ec8b8e73a918d5680e6f13aaef56ca8756c2a8 (patch) | |
tree | a61c6797188227d1d07e3d9f91b8ea09684406c7 /scripts | |
parent | 1b5b10d13152d704d2396a1e53d56aba1a8e7e03 (diff) | |
download | PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.gz PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.zst PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.zip |
Fix lint
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis.sh | 4 | ||||
-rwxr-xr-x | scripts/update-host.ts | 2 |
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 |
6 | fi | 6 | fi |
7 | 7 | ||
8 | if [ "$1" = "client" ]; then | 8 | if [ "$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 |
11 | elif [ "$1" = "api" ]; then | 11 | elif [ "$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 |