Skip to content

Commit 39d0a45

Browse files
committed
debug
1 parent 9e52db4 commit 39d0a45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cml.js

+6
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,22 @@ const inferToken = () => {
6868

6969
const inferDriver = (opts = {}) => {
7070
const { repo } = opts;
71+
console.log('!!!!! DEBUG !!!!!');
72+
console.log(repo);
7173
if (repo) {
7274
const url = new URL(repo);
75+
console.log(url);
7376
if (url.hostname === 'github.com') return GITHUB;
7477
if (url.hostname === 'gitlab.com') return GITLAB;
7578
if (/bitbucket\.(com|org)/.test(url.hostname)) return BB;
7679
}
7780

81+
console.log('!!!!! DEBUG !!!!!');
7882
if (GITHUB_REPOSITORY) return GITHUB;
7983
if (CI_PROJECT_URL) return GITLAB;
8084
if (BITBUCKET_REPO_UUID) return BB;
85+
86+
console.log('!!!!! DEBUG !!!!!');
8187
};
8288

8389
const fixGitSafeDirectory = () => {

0 commit comments

Comments
 (0)