Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew7234 committed Sep 23, 2023
1 parent 57a4e36 commit 96e1842
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/e2e_regression/ensure_consistent_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ set -euo pipefail
# Element of the config files that we'll compare
important_attrs='{"cache": .analysis.source.cache.cache_dir, "chain_name": .analysis.source.chain_name, "db": .analysis.storage.endpoint}'

# A converter whose only dependency is stock python and pyyaml, which hopefully is preinstalled
# Enables aliases to work in non-interactive shells.
shopt -s expand_aliases

# A converter whose only dependency is python3, which is likely preinstalled
alias yaml2json="python3 -c 'import sys,yaml,json; print(json.dumps(yaml.safe_load(str(sys.stdin.read()))))'"

# Compare
Expand Down

0 comments on commit 96e1842

Please sign in to comment.