Skip to content

Commit

Permalink
Update lib/parse_config.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Sukka <[email protected]>
  • Loading branch information
zhangnew and SukkaW authored Mar 16, 2020
1 parent fa854cf commit a3c48a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a3c48a2

Please sign in to comment.