X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fwebtorrent.ts;h=1c0d00d70d33e04a58fee3747f66d856cbbf4e00;hb=c9d5c64f98c1f1fe7950de60c58edeaf3ace070d;hp=6f2adb3cb447d9eb74bfbffbc2821b493eccc84f;hpb=0ee027347ae09ea397e9b85702707e9179537ebd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/webtorrent.ts b/server/helpers/webtorrent.ts index 6f2adb3cb..1c0d00d70 100644 --- a/server/helpers/webtorrent.ts +++ b/server/helpers/webtorrent.ts @@ -1,7 +1,7 @@ import { logger } from './logger' import { generateVideoTmpPath } from './utils' import * as WebTorrent from 'webtorrent' -import { createWriteStream } from 'fs' +import { createWriteStream } from 'fs-extra' import { CONFIG } from '../initializers' import { join } from 'path' import { unlinkPromise } from './core-utils'