From 8d3a2ab34ed14b2053616c0fc130fd88aad759d3 Mon Sep 17 00:00:00 2001 From: Im-Beast Date: Sat, 7 Dec 2024 18:09:36 +0100 Subject: tests download proper monero_c version in prepareMoneroC --- tests/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/utils.ts b/tests/utils.ts index 7674e7e..40444c9 100755 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -173,7 +173,7 @@ export async function prepareMoneroC(coin: Coin, version: MoneroCVersion) { `./tests/dependencies/libs/next/${moneroTsDylibName}`, ); } else { - const downloadInfo = moneroCInfos.find((info) => info.outDir?.includes(version)); + const downloadInfo = moneroCInfos.find((info) => info.outDir?.endsWith(version)); if (downloadInfo) { await downloadDependencies(downloadInfo); } -- cgit v1.2.3