aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-08 17:40:54 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-08 17:40:54 +0100
commitb1a134ee525bd23d7e359573eca24f133974de84 (patch)
treebb4e4a93958e937c1c1c7b7bf02d58a8a66935f8
parentf595d3947708114deeed4312cc5ffd285745b090 (diff)
downloadPeerTube-b1a134ee525bd23d7e359573eca24f133974de84.tar.gz
PeerTube-b1a134ee525bd23d7e359573eca24f133974de84.tar.zst
PeerTube-b1a134ee525bd23d7e359573eca24f133974de84.zip
Fix lint
-rw-r--r--server/helpers/custom-validators/videos.ts1
-rw-r--r--server/tests/api/multiple-servers.ts2
-rw-r--r--server/tests/api/single-server.ts1
3 files changed, 1 insertions, 3 deletions
diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts
index 4fc460699..37fa8b08a 100644
--- a/server/helpers/custom-validators/videos.ts
+++ b/server/helpers/custom-validators/videos.ts
@@ -9,7 +9,6 @@ import { VIDEO_PRIVACIES } from '../../initializers/constants'
9import { database as db } from '../../initializers/database' 9import { database as db } from '../../initializers/database'
10import { VideoInstance } from '../../models/video/video-interface' 10import { VideoInstance } from '../../models/video/video-interface'
11import { exists, isArray } from './misc' 11import { exists, isArray } from './misc'
12import isInt = require('validator/lib/isInt')
13 12
14const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS 13const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS
15const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES 14const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES
diff --git a/server/tests/api/multiple-servers.ts b/server/tests/api/multiple-servers.ts
index c9f74cc8c..2f17f017a 100644
--- a/server/tests/api/multiple-servers.ts
+++ b/server/tests/api/multiple-servers.ts
@@ -2,7 +2,7 @@
2 2
3import 'mocha' 3import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { join } from "path" 5import { join } from 'path'
6import * as request from 'supertest' 6import * as request from 'supertest'
7 7
8import { 8import {
diff --git a/server/tests/api/single-server.ts b/server/tests/api/single-server.ts
index 91460c7ae..174fb480d 100644
--- a/server/tests/api/single-server.ts
+++ b/server/tests/api/single-server.ts
@@ -4,7 +4,6 @@ import * as chai from 'chai'
4import { keyBy } from 'lodash' 4import { keyBy } from 'lodash'
5import 'mocha' 5import 'mocha'
6import { join } from 'path' 6import { join } from 'path'
7import * as request from 'supertest'
8import { 7import {
9 dateIsValid, 8 dateIsValid,
10 flushTests, 9 flushTests,