Skip to content

Commit

Permalink
Leif/docc fix (#40)
Browse files Browse the repository at this point in the history
* Fix docc GitHub action

* After fix only run docc action on release
  • Loading branch information
0xLeif authored Nov 30, 2023
1 parent dbc5130 commit a75d910
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: docc
'on':
on:
release:
types: [released]
permissions:
Expand Down
6 changes: 3 additions & 3 deletions Sources/AppState/Application/Types/Application+State.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ extension Application {

public var description: String {
switch type {
case .state: "State<\(Value.self)>(\(value)) (\(scope.key))"
case .stored: "StoredState<\(Value.self)>(\(value)) (\(scope.key))"
case .sync: "SyncState<\(Value.self)>(\(value)) (\(scope.key))"
case .state: return "State<\(Value.self)>(\(value)) (\(scope.key))"
case .stored: return "StoredState<\(Value.self)>(\(value)) (\(scope.key))"
case .sync: return "SyncState<\(Value.self)>(\(value)) (\(scope.key))"
}
}
}
Expand Down

0 comments on commit a75d910

Please sign in to comment.