We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f92282 commit 9e05091Copy full SHA for 9e05091
1 file changed
modules/nextflow/src/main/groovy/nextflow/scm/RepositoryProvider.groovy
@@ -126,13 +126,15 @@ abstract class RepositoryProvider {
126
}
127
128
boolean hasCredentials() {
129
- getUser() && getPassword()
+ return (getUser() && getPassword()) || getToken()
130
131
132
String getUser() { config?.user }
133
134
String getPassword() { config?.password }
135
136
+ String getToken() { config?.token }
137
+
138
/**
139
* @return The name of the source hub service e.g. github or bitbucket
140
*/
0 commit comments