From 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 6 Aug 2022 15:20:43 +0200 Subject: Use single quotes in server/ and update eslint rules --- server/tools/peertube-import-videos.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tools') diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index 661a4cf35..e2f80c703 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts @@ -37,7 +37,7 @@ command .option('--last ', 'Process last n elements of returned playlist') .option('--wait-interval ', 'Duration between two video imports (in seconds)', convertIntoMs) .option('-T, --tmpdir ', 'Working directory', __dirname) - .usage("[global options] [ -- youtube-dl options]") + .usage('[global options] [ -- youtube-dl options]') .parse(process.argv) const options = command.opts() @@ -97,7 +97,7 @@ async function run (url: string, username: string, password: string) { for (const [ index, info ] of infoArray.entries()) { try { if (index > 0 && options.waitInterval && !skipInterval) { - log.info("Wait for %d seconds before continuing.", options.waitInterval / 1000) + log.info('Wait for %d seconds before continuing.', options.waitInterval / 1000) await wait(options.waitInterval) } -- cgit v1.2.3