Skip to content

Commit a3c48a2

Browse files
zhangnewSukkaW
andauthored
Update lib/parse_config.js
Co-Authored-By: Sukka <isukkaw@gmail.com>
1 parent fa854cf commit a3c48a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function parseObjRepo(repo) {
3131
} else {
3232
userToken = configToken;
3333
}
34-
if (token_name && repoUrl.host === 'e.coding.net') {
34+
if (token_name && repoUrl.host.includes('coding.net') {
3535
repoUrl.username = token_name;
3636
repoUrl.password = userToken;
3737
} else {

0 commit comments

Comments
 (0)