Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: format
  • Loading branch information
russellwheatley committed Nov 26, 2024
commit 4bf0d33864217078d3e65d6f1ace667d3c23a2f0
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ func loadFirebaseSDKVersion() throws -> String {
}

func loadPubspecVersions() throws -> (packageVersion: String, firebaseCoreVersion: String) {
let pubspecPath = NSString.path(withComponents: [remoteConfigDirectory, "..", "..", "pubspec.yaml"])
let pubspecPath = NSString.path(withComponents: [
remoteConfigDirectory,
"..",
"..",
"pubspec.yaml",
])
do {
let yamlString = try String(contentsOfFile: pubspecPath, encoding: .utf8)
let lines = yamlString.split(separator: "\n")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ func loadFirebaseSDKVersion() throws -> String {
}

func loadPubspecVersions() throws -> (packageVersion: String, firebaseCoreVersion: String) {
let pubspecPath = NSString.path(withComponents: [remoteConfigDirectory, "..", "..", "pubspec.yaml"])
let pubspecPath = NSString.path(withComponents: [
remoteConfigDirectory,
"..",
"..",
"pubspec.yaml",
])
do {
let yamlString = try String(contentsOfFile: pubspecPath, encoding: .utf8)
let lines = yamlString.split(separator: "\n")
Expand Down