diff --git a/lib/parse_config.js b/lib/parse_config.js index 7bacb06..d1b548b 100644 --- a/lib/parse_config.js +++ b/lib/parse_config.js @@ -31,7 +31,7 @@ function parseObjRepo(repo) { } else { userToken = configToken; } - if (token_name && repoUrl.host === 'e.coding.net') { + if (token_name && repoUrl.host.includes('coding.net')) { repoUrl.username = token_name; repoUrl.password = userToken; } else {