Skip to content

Parameter production is unused #13

@enolik97

Description

@enolik97

public static func addConfigurationAPNS(name: String, production: Bool, certificatePath: String) {
addConfigurationIOS(name: name) {
net in
guard File(certificatePath).exists else {
fatalError("File not found (certificatePath)")
}
guard net.useCertificateFile(cert: certificatePath)
&& net.usePrivateKeyFile(cert: certificatePath)
&& net.checkPrivateKey() else {
let code = Int32(net.errorCode())
print("Error validating private key file: (net.errorStr(forCode: code))")
return
}
}
}

The parameter is never used within the function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions