Browse Source

PodspecsTester/main.swift: use let instead of var for timer (#10435)

Denver Coneybeare 3 years ago
parent
commit
f806c30e6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ReleaseTooling/Sources/PodspecsTester/main.swift

+ 1 - 1
ReleaseTooling/Sources/PodspecsTester/main.swift

@@ -104,7 +104,7 @@ struct PodspecsTester: ParsableCommand {
     InitializeSpecTesting.setupRepo(sdkRepoURL: gitRoot)
     let manifest = FirebaseManifest.shared
     var minutes = 0
-    var timer: DispatchSourceTimer = {
+    let timer: DispatchSourceTimer = {
       let t = DispatchSource.makeTimerSource()
       t.schedule(deadline: .now(), repeating: 60)
       t.setEventHandler(handler: {