Skip to content

Commit 93e2135

Browse files
committed
Fix instance issue and add more logging
1 parent d8488f3 commit 93e2135

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpdsa/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
help="GitHub Repository",
2828
)
2929
parser_github.add_argument(
30-
"-i",
3130
"--github-instance",
32-
default=os.environ.get("GITHUB_API_URL", "https://api.github.com"),
31+
default=os.environ.get("GITHUB_SERVER_URL", "https://github.com"),
3332
help="GitHub Instance",
3433
)
3534
parser_github.add_argument(
@@ -62,6 +61,7 @@
6261

6362
depgraph = DependencyGraph(GitHub.repository)
6463
logger.debug(f"GitHub Instance :: {GitHub}")
64+
logger.debug(f"Repository :: {GitHub.repository}")
6565

6666
if arguments.cocoapods_lock:
6767
lock_files.append(arguments.cocoapods_lock)
@@ -73,7 +73,7 @@
7373

7474
dependencies = parseLockFile(lockfile)
7575

76-
logger.debug(f"Dependencies Count :: {len(dependencies)}")
76+
logger.info(f"Dependencies Count :: {len(dependencies)}")
7777

7878
if not arguments.dry_run:
7979
depgraph.submitDependencies(

0 commit comments

Comments
 (0)