Skip to content

Commit

Permalink
Updated Github Action to use latest actions/checkout version. Fixed e…
Browse files Browse the repository at this point in the history
…xtra "-> Void" syntax on a block of code.
  • Loading branch information
macblazer committed Dec 3, 2023
1 parent 7b2740f commit 7f0d669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Swiftlint verification
uses: norio-nomura/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion Source/Extensions/TCCProfileExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public extension TCCProfile {

// This block looks for the given coding key within a property list XML string and
// converts it to the standard letter case.
let conversionBlock = { (codingKey: CodingKey) -> Void in
let conversionBlock = { (codingKey: CodingKey) in
let requiredString = ">\(codingKey.stringValue)<"
newString = newString.replacingOccurrences(of: requiredString,
with: requiredString,
Expand Down

0 comments on commit 7f0d669

Please sign in to comment.