Skip to content

Commit

Permalink
used the wrong method lol
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Oct 13, 2023
1 parent 59912bf commit 3637384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/functions/missing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { existsSync, readdirSync, statSync } from "fs";
import { mkdir } from "fs/promises";
import formatName from "@utility/formatName";
import { Client } from "@client";
import { Channel, ChannelType, VoiceChannel } from "discord.js";
import { ChannelType, VoiceChannel } from "discord.js";
import { join, normalize } from "path";

import os from "os";
Expand Down Expand Up @@ -150,7 +150,7 @@ export const compute = async (

await callback("Searching for differences...").catch((err: any) => Promise.reject(err));

const editionFilter = blacklistedTextures[edition].map((i: string) => i.normalize());
const editionFilter = blacklistedTextures[edition].map(normalize);

const texturesDefault = getAllFilesFromDir(tmpDirPathDefault, editionFilter).map((f) =>
normalize(f).replace(tmpDirPathDefault, ""),
Expand Down

0 comments on commit 3637384

Please sign in to comment.