From 2272b5dbfd230fc859939be0345cba4b2f1dda29 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:53:28 +0300 Subject: [PATCH] fix: Fix path handling in script execution (#318) --- scripts/check_abis.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/check_abis.sh b/scripts/check_abis.sh index 0982d93..8c8dc14 100755 --- a/scripts/check_abis.sh +++ b/scripts/check_abis.sh @@ -1,12 +1,11 @@ - set -e artifacts_path="$1" check_abis() { for contract_name in "$@"; do - diff $(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json") "storage-contracts-abis/$contract_name.json" + diff "$(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json")" "storage-contracts-abis/$contract_name.json" done } -check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow +check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow