Skip to content

Commit

Permalink
🚨 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Vondee committed Aug 23, 2024
1 parent 68db063 commit 1bd4030
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/video-uploader/src/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { config } from 'dotenv';
import { existsSync, mkdirSync } from 'fs';
import { join } from 'path';
import winston from 'winston';
import winstonDaily from 'winston-daily-rotate-file';
import { config } from 'dotenv';
config();

// logs dir
Expand Down
6 changes: 3 additions & 3 deletions packages/video-uploader/src/utils/twitter.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { logger } from './logger';
import crypto from 'crypto';
import OAuth from 'oauth-1.0a';
import { config } from 'dotenv';
import fs from 'fs';
import fetch from 'node-fetch';
import { config } from 'dotenv';
import OAuth from 'oauth-1.0a';
import { logger } from './logger';
config();

function delay(ms: number): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion packages/video-uploader/src/utils/youtube.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { youtube_v3, google } from 'googleapis';
import { createReadStream, createWriteStream, unlinkSync } from 'fs';
import { google, youtube_v3 } from 'googleapis';
import https from 'https';

function delay(ms: number): Promise<void> {
Expand Down

0 comments on commit 1bd4030

Please sign in to comment.