Skip to content

Commit 5667f96

Browse files
committed
bytecode_reports_for_modified_binaries.sh: Do not try to iterate over platform binaries when nothing was modified
1 parent b59566f commit 5667f96

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/solc-bin/bytecode_reports_for_modified_binaries.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ modified_release_versions=$(
124124
uniq
125125
)
126126
echo "Release versions modified in the commit range:"
127-
echo "$modified_release_versions"
127+
if [[ $modified_release_versions != "" ]]; then
128+
echo "$modified_release_versions"
129+
else
130+
echo "No modified binaries found."
131+
exit 0
132+
fi
128133

129134
# NOTE: We want perform the check when the soljson-* files in bin/ and wasm/ are modified too
130135
# because in that case the symlinks in emscripten-wasm32/ and emscripten-asmjs/ might remain

0 commit comments

Comments
 (0)