summaryrefslogtreecommitdiff
path: root/tests/utils.ts
diff options
context:
space:
mode:
authorIm-Beast <franik.mateusz@gmail.com>2025-01-03 19:45:53 +0100
committerIm-Beast <franik.mateusz@gmail.com>2025-01-03 19:45:53 +0100
commit753998450c6579fa5e369b7f889c156583816b8e (patch)
tree1e43e28bd5556334b0b37068fd3ea97916f50add /tests/utils.ts
parent804f1a8e3332bcdbff5f8c02547e57a80c4deb20 (diff)
chore: support fallback names in the download_deps utilzano
Diffstat (limited to 'tests/utils.ts')
-rwxr-xr-xtests/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.ts b/tests/utils.ts
index 86501a8..9408f54 100755
--- a/tests/utils.ts
+++ b/tests/utils.ts
@@ -84,13 +84,13 @@ export async function extract(path: string, out: string) {
export async function prepareMoneroCli() {
await downloadDependencies(moneroCliInfo);
- const path = join("./tests/dependencies", moneroCliInfo.outDir ?? "", getFileInfo(moneroCliInfo).name);
+ const path = join("./tests/dependencies", moneroCliInfo.outDir ?? "", getFileInfo(moneroCliInfo).names[0]);
await extract(path, "./tests/dependencies/monero-cli/");
}
export async function prepareWowneroCli() {
await downloadDependencies(wowneroCliInfo);
- const path = join("./tests/dependencies", wowneroCliInfo.outDir ?? "", getFileInfo(wowneroCliInfo).name);
+ const path = join("./tests/dependencies", wowneroCliInfo.outDir ?? "", getFileInfo(wowneroCliInfo).names[0]);
await extract(path, "./tests/dependencies/wownero-cli/");
}