We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3e87ed commit d89a319Copy full SHA for d89a319
scripts/fetchGrazChains.sh
@@ -26,14 +26,14 @@ fetch_graz_chains() {
26
27
while [ $retry_count -lt $MAX_RETRIES ]; do
28
echo "Attempt $((retry_count + 1)) to fetch cosmos chains..."
29
-
+
30
if graz generate -g; then
31
echo "Successfully fetched cosmos chains!"
32
33
# Copy generated files to the output directory
34
cp -R node_modules/graz/chains/* "$OUTPUT_DIR"
35
echo "Copied generated files to $OUTPUT_DIR"
36
- return 0
+ return 0
37
else
38
retry_count=$((retry_count + 1))
39
if [ $retry_count -lt $MAX_RETRIES ]; then
@@ -45,7 +45,7 @@ fetch_graz_chains() {
45
fi
46
done
47
48
- return 1
+ return 1
49
}
50
51
if fetch_graz_chains; then
0 commit comments