Skip to content

Commit a21807d

Browse files
committed
Fix swift format complaints
1 parent d6135c1 commit a21807d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/AppBundle/config/parseOnWindowDetected.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct WindowDetectedCallback: ConvenienceCopyable, Equatable {
1212

1313
var debugInfo: Json {
1414
var result: [String: Json] = [:]
15-
result ["matcher"] = matcher.debugInfo
15+
result["matcher"] = matcher.debugInfo
1616
if let commands = rawRun {
1717
let commandsJson: [Json] = commands.map { command in
1818
let args = command.args.rawArgs.value.joined(separator: ",")
@@ -35,16 +35,16 @@ struct WindowDetectedCallbackMatcher: ConvenienceCopyable, Equatable {
3535
var windowTitleRegexSubstring: Regex<AnyRegexOutput>?
3636
var workspace: String?
3737
var duringAeroSpaceStartup: Bool?
38-
38+
3939
var debugInfo: Json {
4040
var resultParts: [String] = []
4141
if let appId = appId {
4242
resultParts.append("appId=\"\(appId)\"")
4343
}
44-
if let _ = appNameRegexSubstring {
44+
if appNameRegexSubstring != nil {
4545
resultParts.append("appNameRegexSubstrin=Regex")
4646
}
47-
if let _ = windowTitleRegexSubstring {
47+
if windowTitleRegexSubstring != nil {
4848
resultParts.append("windowTitleRegexSubstring=Regex")
4949
}
5050
if let workspace = workspace {

0 commit comments

Comments
 (0)