Skip to content

Commit

Permalink
Fix monitorId in %{monitor-id} interpolation variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabobko committed Jul 28, 2024
1 parent 3192adf commit 1e33cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AppBundle/command/other/format.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private extension String {
}
case (.monitor(let m), .monitor(let f)):
return switch f {
case .monitorId: .success(m.monitorId?.description ?? "NULL-MONITOR-ID")
case .monitorId: .success(m.monitorId.map { $0 + 1 }?.description ?? "NULL-MONITOR-ID")
case .monitorName: .success(m.name)
}
case (.app(let a), .app(let f)):
Expand Down

0 comments on commit 1e33cf6

Please sign in to comment.