Refactor is_fhost_url to use regex for url matching #54
Loading…
Reference in New Issue
No description provided.
Delete Branch "7415963987456321/fhost_url"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I figured it was a bit unnecessary to have two functions for this so I refactored it into one function.
I thought about introducing fhost_url as a global variable in order to avoid checking for every function call, but I'll await your input on that. This PR introduces re as a dependency, I don't know if you consider that to be excessive, but it certainly simplifies things.
Pull request closed