Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
| import re as _re | |
| import json as _json | |
| JSON_EXTENSION = '.json' | |
| def find_json_for_file(file: Path): | |
| try: | |
| if file.with_name(file.name + JSON_EXTENSION).is_file(): | |
| # file.jpg -> file.jpg.json | |
| the_json_path = file.with_name(file.name + JSON_EXTENSION) |