Remove unused comments
This commit is contained in:
parent
b0268e27e1
commit
9da443f374
3 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ function regexpCapture (str: string, regex: RegExp, maxIterations = 100) {
|
||||||
let m: RegExpExecArray
|
let m: RegExpExecArray
|
||||||
let i = 0
|
let i = 0
|
||||||
|
|
||||||
// tslint:disable:no-conditional-assignment
|
|
||||||
while ((m = regex.exec(str)) !== null && i < maxIterations) {
|
while ((m = regex.exec(str)) !== null && i < maxIterations) {
|
||||||
// This is necessary to avoid infinite loops with zero-width matches
|
// This is necessary to avoid infinite loops with zero-width matches
|
||||||
if (m.index === regex.lastIndex) {
|
if (m.index === regex.lastIndex) {
|
||||||
|
|
|
@ -56,7 +56,6 @@ async function up (utils: {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// tslint:disable:no-trailing-whitespace
|
|
||||||
const query1 =
|
const query1 =
|
||||||
`
|
`
|
||||||
INSERT INTO "actor"
|
INSERT INTO "actor"
|
||||||
|
|
|
@ -50,7 +50,6 @@ export class SQLCommand extends AbstractCommand {
|
||||||
async countVideoViewsOf (uuid: string) {
|
async countVideoViewsOf (uuid: string) {
|
||||||
const seq = this.getSequelize()
|
const seq = this.getSequelize()
|
||||||
|
|
||||||
// tslint:disable
|
|
||||||
const query = 'SELECT SUM("videoView"."views") AS "total" FROM "videoView" ' +
|
const query = 'SELECT SUM("videoView"."views") AS "total" FROM "videoView" ' +
|
||||||
`INNER JOIN "video" ON "video"."id" = "videoView"."videoId" WHERE "video"."uuid" = '${uuid}'`
|
`INNER JOIN "video" ON "video"."id" = "videoView"."videoId" WHERE "video"."uuid" = '${uuid}'`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue