Eslint
This commit is contained in:
parent
b681bc3491
commit
6bde435a90
4 changed files with 4 additions and 4 deletions
2
@types/downloadedFile.d.ts
vendored
2
@types/downloadedFile.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import { LanguageItem } from "../modules/module.langsData";
|
||||
import { LanguageItem } from '../modules/module.langsData';
|
||||
|
||||
export type DownloadedFile = {
|
||||
path: string,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ import { CrunchyEpisodeList, Item } from './@types/crunchyEpisodeList';
|
|||
import { CrunchyEpMeta, DownloadedMedia, ParseItem, SeriesSearch, SeriesSearchItem } from './@types/crunchyTypes';
|
||||
import { ObjectInfo } from './@types/objectInfo';
|
||||
import parseFileName, { Variable } from './modules/module.filename';
|
||||
import { PlaybackData, Vcodec } from './@types/playbackData';
|
||||
import { PlaybackData } from './@types/playbackData';
|
||||
import { downloaded } from './modules/module.downloadArchive';
|
||||
import parseSelect from './modules/module.parseSelect';
|
||||
const req = new reqModule.Req(domain, argv);
|
||||
|
|
|
|||
2
funi.ts
2
funi.ts
|
|
@ -481,7 +481,7 @@ async function downloadStreams(epsiode: FunimationMediaDownload){
|
|||
}> = {};
|
||||
let plMaxLayer = 1,
|
||||
plNewIds = 1,
|
||||
plAud: undefined|{
|
||||
plAud: undefined|{
|
||||
uri: string
|
||||
language: langsData.LanguageItem
|
||||
};
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ function done(newVersion?: string) {
|
|||
|
||||
function isNewer(curr: string, compare: string) : boolean {
|
||||
const currParts = curr.split('.').map(a => parseInt(a));
|
||||
const compareParts = curr.split('.').map(a => parseInt(a));
|
||||
const compareParts = compare.split('.').map(a => parseInt(a));
|
||||
|
||||
for (let i = 0; i < Math.max(currParts.length, compareParts.length); i++) {
|
||||
if (currParts.length <= i)
|
||||
|
|
|
|||
Loading…
Reference in a new issue