Skip to content

Commit

Permalink
[#491] Add swift function of replace all in
Browse files Browse the repository at this point in the history
  • Loading branch information
blyscuit committed Jul 21, 2023
1 parent bf907c5 commit c375c14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Scripts/Swift/Extensions/FileManager+Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ extension FileManager {
let modifiedText = text.replacingOccurrences(of: original, with: replacing)
try modifiedText.write(to: file, atomically: true, encoding: .utf8)
}
catch {
print(error)
}
catch {}
}
}

Expand Down

0 comments on commit c375c14

Please sign in to comment.