Skip to content

Commit

Permalink
Merge pull request #6 from lukepistrol/fix/plaintasktrigger-does-not-…
Browse files Browse the repository at this point in the history
…re-trigger

fixes a bug where `PlainTaskTrigger` would not re-trigger
  • Loading branch information
lukepistrol committed Jul 1, 2024
2 parents 8ca8d77 + 873def2 commit 8cdf339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
container: ghcr.io/realm/swiftlint:latest
container: ghcr.io/realm/swiftlint:0.55.1
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Sources/TaskTrigger/TaskTrigger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public typealias PlainTaskTrigger = TaskTrigger<Bool>
public extension PlainTaskTrigger {
/// Triggers the tasks associated with this ``TaskTrigger/PlainTaskTrigger``.
mutating func trigger() {
self.state = .active(value: true)
self.state = .active(value: true, uuid: .init())
}
}

0 comments on commit 8cdf339

Please sign in to comment.