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.
2 parents ee2ec74 + f56e921 commit 4259ecaCopy full SHA for 4259eca
jgo/jgo.py
@@ -265,7 +265,7 @@ def run_and_combine_outputs(command, *args):
265
266
def find_endpoint(argv, shortcuts={}):
267
# endpoint is first positional argument
268
- pattern = re.compile(".*https?://.*")
+ pattern = re.compile("(.*https?://.*|[a-zA-Z]:\\.*)")
269
indices = []
270
for index, arg in enumerate(argv):
271
if arg in shortcuts or (Endpoint.is_endpoint(arg) and not pattern.match(arg)):
0 commit comments