You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it returns -1 on error? (Not sure, haven't checked).
Why it could be helpful
The workshop validator could then throw an immediate error if a given repository doesn't exist, and similarly if invalid repository locations are added to the website for any other reason.
The text was updated successfully, but these errors were encountered:
What the enhancement is
If the
remoteRepoURL
is invalid, we want an error to be thrown straight away. For example:Happens when git is used in the command-line, but at the moment GitUtil doesn't check for these errors.
The line of code that is relevant is:
shell(args: "git", "clone", "--depth", "1", remoteRepoURL, localRepoPath, "--single-branch")
Maybe it returns
-1
on error? (Not sure, haven't checked).Why it could be helpful
The workshop validator could then throw an immediate error if a given repository doesn't exist, and similarly if invalid repository locations are added to the website for any other reason.
The text was updated successfully, but these errors were encountered: