Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Trim content of files generated by TweakAccessorGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodebortoli committed Apr 27, 2021
1 parent 3710698 commit 78dfda3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extension TweakAccessorCodeGenerator {
let content = template
.replacingOccurrences(of: featureConstantsConst, with: featureConstants)
.replacingOccurrences(of: variableConstantsConst, with: variableConstants)
.trimmingCharacters(in: .whitespacesAndNewlines)
return content
}

Expand All @@ -41,6 +42,7 @@ extension TweakAccessorCodeGenerator {
let content = template
.replacingOccurrences(of: tweakManagerConst, with: tweakManager)
.replacingOccurrences(of: classContentConst, with: classContent)
.trimmingCharacters(in: .whitespacesAndNewlines)
return content
}

Expand Down

0 comments on commit 78dfda3

Please sign in to comment.