Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Jan 18, 2024
1 parent e4ad292 commit 36e7c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/IPSWDownloads/Data.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ extension Data {

self = data
}

internal init?(hexString: String, emptyIsNil: Bool) throws {
if emptyIsNil, hexString.isEmpty {
return nil
}

try self.init(hexString: hexString)
}
}

0 comments on commit 36e7c1f

Please sign in to comment.