Skip to content

Commit

Permalink
fix: import order (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
whizzzkid authored Dec 18, 2022
1 parent 45aa3f4 commit b72b84b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {resolve} from 'path';
import { resolve } from 'path';

export const TMP_PATH = resolve(process.cwd(), 'tmp');
export const PLAYER_PATH = process.env.PLAYER_PATH || 'https://whizzzkid.github.io/yt-dl-ipfs/';
Expand Down
4 changes: 2 additions & 2 deletions src/input.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ora from 'ora';
import inquirer from 'inquirer';
import findVideo from './tasks/findVideo';
import ora from 'ora';
import downloadVideo from './tasks/downloadVideo';
import findVideo from './tasks/findVideo';
import saveVideo from './tasks/saveVideo';

const spinner = ora();
Expand Down
4 changes: 2 additions & 2 deletions src/ipfsClient.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PLAYER_PATH, IPFS_API_URL } from './config';
import { IPFSHTTPClient, create, globSource } from 'ipfs-http-client';
import { create, globSource, IPFSHTTPClient } from 'ipfs-http-client';
import youtubeDl from 'youtube-dl-exec';
import { IPFS_API_URL, PLAYER_PATH } from './config';
import { downloadPath, generateIPFSManifest, videoFileName } from './helpers';

class IPFSClient {
Expand Down
2 changes: 1 addition & 1 deletion src/player/app.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';

import './pages/IpfsPlayer/IpfsPlayer';
import './pages/homepage/Homepage';
import './pages/IpfsPlayer/IpfsPlayer';

@customElement('ipfs-player-app')
export class App extends LitElement {
Expand Down
4 changes: 2 additions & 2 deletions src/player/pages/IpfsPlayer/IpfsPlayer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ref, createRef, Ref } from 'lit/directives/ref.js';
import { LitElement, html, css } from 'lit';
import { css, html, LitElement } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import { createRef, ref, Ref } from 'lit/directives/ref.js';
import IPFSVideoSourceController from '../../controllers/IPFSVideoSourceController';

@customElement('ipfs-player')
Expand Down

0 comments on commit b72b84b

Please sign in to comment.