There was an error while loading. Please reload this page.
2 parents 3ae3a88 + ad43b7f commit 0aa7c8cCopy full SHA for 0aa7c8c
1 file changed
Sources/Hub/HubApi.swift
@@ -76,6 +76,11 @@ public struct HubApi: Sendable {
76
useOfflineMode: Bool? = nil
77
) {
78
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
+ }
84
if let downloadBase {
85
self.downloadBase = downloadBase
86
} else {
0 commit comments