diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-26 15:04:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-26 15:04:37 +0200 |
commit | 15a7eafb892441957ba7dd6fcbf556086fe5b2b3 (patch) | |
tree | 0786bd1a96c7d168a097ffcf5893737db2ab578e /scripts | |
parent | 9162fdd36300d2478f13d6ad346ec2c323f40faa (diff) | |
download | PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.tar.gz PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.tar.zst PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.zip |
Refactor video links builders
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/parse-log.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts index c16503589..6cd3a1860 100755 --- a/scripts/parse-log.ts +++ b/scripts/parse-log.ts | |||
@@ -6,9 +6,8 @@ import { createReadStream, readdir } from 'fs-extra' | |||
6 | import { join } from 'path' | 6 | import { join } from 'path' |
7 | import { createInterface } from 'readline' | 7 | import { createInterface } from 'readline' |
8 | import * as winston from 'winston' | 8 | import * as winston from 'winston' |
9 | import { labelFormatter } from '../server/helpers/logger' | 9 | import { labelFormatter, mtimeSortFilesDesc } from '../server/helpers/logger' |
10 | import { CONFIG } from '../server/initializers/config' | 10 | import { CONFIG } from '../server/initializers/config' |
11 | import { mtimeSortFilesDesc } from '../shared/core-utils/logs/logs' | ||
12 | import { inspect } from 'util' | 11 | import { inspect } from 'util' |
13 | import { format as sqlFormat } from 'sql-formatter' | 12 | import { format as sqlFormat } from 'sql-formatter' |
14 | 13 | ||