Skip to content

Commit 0aa7c8c

Browse files
committed
Merge remote-tracking branch 'origin/main' into jinja-upgrade
2 parents 3ae3a88 + ad43b7f commit 0aa7c8c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Sources/Hub/HubApi.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ public struct HubApi: Sendable {
7676
useOfflineMode: Bool? = nil
7777
) {
7878
self.hfToken = hfToken ?? Self.hfTokenFromEnv()
79+
80+
let debugPrint = ProcessInfo.processInfo.environment["CI_DISABLE_NETWORK_MONITOR"] == "1"
81+
if debugPrint {
82+
print(self.hfToken == nil ? "🔴 NO TOKEN **" : "✅ got token")
83+
}
7984
if let downloadBase {
8085
self.downloadBase = downloadBase
8186
} else {

0 commit comments

Comments
 (0)