We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed54f3c commit ad43b7fCopy full SHA for ad43b7f
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