Skip to content

Commit

Permalink
tests: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed Dec 10, 2024
1 parent 8d3a2ab commit c888e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function extract(path: string, out: string) {

if (path.endsWith(".tar.bz2")) {
let args = `-C ${dirname(out)}`;
if (outDir !== out) {
if (outDir === out) {
args = `-C ${out} --strip-components=1`;
}
await $.raw`tar -xf ${path} ${args}`;
Expand All @@ -75,7 +75,7 @@ export async function prepareMoneroCli() {

export async function prepareWowneroCli() {
await downloadDependencies(wowneroCliInfo);
const path = join("./tests/dependecies", wowneroCliInfo.outDir ?? "", getFileInfo(wowneroCliInfo).name);
const path = join("./tests/dependencies", wowneroCliInfo.outDir ?? "", getFileInfo(wowneroCliInfo).name);
await extract(path, "./tests/dependencies/wownero-cli/");
}

Expand Down

0 comments on commit c888e02

Please sign in to comment.