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
When "repoList = (com.executeCommand(command1).split("\r?\n"));" is executed with empty "workspace + cartHome + '/src/urls.txt'" file, you will get an Array with length == 1. Then the following sentence is executed one time and it fails because 'repo' is an empty String and repo.indexOf("anything") returns -1
When "repoList = (com.executeCommand(command1).split("\r?\n"));" is executed with empty "workspace + cartHome + '/src/urls.txt'" file, you will get an Array with length == 1. Then the following sentence is executed one time and it fails because 'repo' is an empty String and repo.indexOf("anything") returns -1
String repoName = repo.substring(repo.lastIndexOf("/") + 1, repo.indexOf(".git"));
The text was updated successfully, but these errors were encountered: