Skip to content

Commit

Permalink
chore: remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuNen344 committed Jun 16, 2023
1 parent 6849c06 commit 27673b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/LicensePlistCore/Entity/Manual.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ extension Manual {
let name = mapping["name"]?.string ?? ""
let version = mapping["version"]?.string
let source = mapping["source"]?.string

var body: String?
if let raw = mapping["body"]?.string {
body = raw
}

if let file = mapping["file"]?.string {
let url = configBasePath.appendingPathComponent(file)
body = try! String(contentsOf: url)
}

let manual = Manual(name: name, source: source, nameSpecified: renames[name], version: version)
manual.body = body // This is so that we do not have to store a body at all ( for testing purposes mostly )
return manual
Expand Down

0 comments on commit 27673b3

Please sign in to comment.