diff options
| author | Im-Beast <franik.mateusz@gmail.com> | 2024-12-07 18:09:36 +0100 |
|---|---|---|
| committer | Im-Beast <franik.mateusz@gmail.com> | 2024-12-07 18:09:36 +0100 |
| commit | 8d3a2ab34ed14b2053616c0fc130fd88aad759d3 (patch) | |
| tree | 0dea853e5a4586566103d75ba8bcf889ce592e2b /tests/utils.ts | |
| parent | bff41ada014b546e1c7f4fc2bce194c264c4aad2 (diff) | |
tests download proper monero_c version in prepareMoneroC
Diffstat (limited to 'tests/utils.ts')
| -rwxr-xr-x | tests/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
