mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Move test functions outside extra-utils
This commit is contained in:
parent
bf54587a3e
commit
c55e3d7227
202 changed files with 798 additions and 895 deletions
|
@ -1,9 +1,8 @@
|
|||
import { copy, readFile, remove, rename } from 'fs-extra'
|
||||
import Jimp, { read } from 'jimp'
|
||||
import { getLowercaseExtension } from '@shared/core-utils'
|
||||
import { buildUUID, getLowercaseExtension } from '@shared/core-utils'
|
||||
import { convertWebPToJPG, processGIF } from './ffmpeg-utils'
|
||||
import { logger } from './logger'
|
||||
import { buildUUID } from '@shared/core-utils/uuid'
|
||||
|
||||
function generateImageFilename (extension = '.jpg') {
|
||||
return buildUUID() + extension
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue