Skip to content

Commit ac5cd02

Browse files
committed
Slightly cleaner code
1 parent 00927b3 commit ac5cd02

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CoreDataQueryInterface/Debug.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
import Foundation
1010

1111
var debug: Bool = {
12-
var debug = false
1312
for arg in ProcessInfo.processInfo.arguments {
1413
if arg == "-com.prosumma.CoreDataQueryInterface.Debug" {
15-
debug = true
16-
break
14+
return true
1715
}
1816
}
19-
return debug
17+
return false
2018
}()

0 commit comments

Comments
 (0)