mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-22 20:35:48 +03:00
Fix unused codesignidentity warning in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
495c85905e
commit
c47435150b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ struct MacCrafter: ParsableCommand {
|
|||
mutating func run() throws {
|
||||
print("Configuring build tooling.")
|
||||
|
||||
if let codeSignIdentity {
|
||||
if codeSignIdentity != nil {
|
||||
guard commandExists("codesign") else {
|
||||
throw MacCrafterError.environmentError("codesign not found, cannot proceed.")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue