diff options
| author | Im-Beast <franik.mateusz@gmail.com> | 2024-12-10 23:33:27 +0100 |
|---|---|---|
| committer | Im-Beast <franik.mateusz@gmail.com> | 2024-12-10 23:33:27 +0100 |
| commit | c888e0259c990688a3429d095f14be9b12efe349 (patch) | |
| tree | ebb6f0350dc6c8a91c2e313fb760417cda62fd15 | |
| parent | 8d3a2ab34ed14b2053616c0fc130fd88aad759d3 (diff) | |
tests: fix typos
| -rwxr-xr-x | tests/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.ts b/tests/utils.ts index 40444c9..f564e6c 100755 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -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}`; @@ -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/"); } |
