File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/kotlin/com/jetpackduba/gitnuro/credentials Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.jetpackduba.gitnuro.credentials
22
33import com.jetpackduba.gitnuro.exceptions.NotSupportedHelper
44import com.jetpackduba.gitnuro.git.remote_operations.CredentialsCache
5+ import com.jetpackduba.gitnuro.logging.printError
56import com.jetpackduba.gitnuro.logging.printLog
67import com.jetpackduba.gitnuro.managers.IShellManager
78import com.jetpackduba.gitnuro.repositories.AppSettingsRepository
@@ -259,7 +260,8 @@ class HttpCredentialsProvider @AssistedInject constructor(
259260 val credentialHelperPath = uriSpecificCredentialHelper ? : genericCredentialHelper ? : return null
260261
261262 if (credentialHelperPath == " cache" || credentialHelperPath == " store" ) {
262- throw NotSupportedHelper (" Invalid credentials helper: \" $credentialHelperPath \" is not yet supported" )
263+ printError(TAG , " Invalid credentials helper: \" $credentialHelperPath \" is not yet supported" )
264+ return null
263265 }
264266
265267 // TODO Try to use "git-credential-manager-core" when "manager-core" is detected. Works for linux but requires testing for mac/windows
You can’t perform that action at this time.
0 commit comments