Skip to content

Commit

Permalink
chore: var -> let
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-fiedler committed Feb 2, 2024
1 parent 56ef5b9 commit d2423b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Amplitude/Storages/PersistentStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ extension PersistentStorage {

let urls = fileManager.urls(for: searchPathDirectory, in: .userDomainMask)
let docUrl = urls[0]
var storageUrl = docUrl.appendingPathComponent("amplitude/\(appPath)\(eventsFileKey)/")
let storageUrl = docUrl.appendingPathComponent("amplitude/\(appPath)\(eventsFileKey)/")
if createDirectory {
// try to create it, will fail if already exists.
// tvOS, watchOS regularly clear out data.
Expand Down

0 comments on commit d2423b7

Please sign in to comment.