@@ -126,7 +126,7 @@ public struct Scheme: Equatable {
126
126
public static let randomExecutionOrderDefault = false
127
127
public static let parallelizableDefault = false
128
128
129
- public var name : String { return targetReference. name }
129
+ public var name : String { targetReference. name }
130
130
public let targetReference : TargetReference
131
131
public var randomExecutionOrder : Bool
132
132
public var parallelizable : Bool
@@ -187,7 +187,7 @@ public struct Scheme: Equatable {
187
187
}
188
188
189
189
public var shouldUseLaunchSchemeArgsEnv : Bool {
190
- return commandLineArguments. isEmpty && environmentVariables. isEmpty
190
+ commandLineArguments. isEmpty && environmentVariables. isEmpty
191
191
}
192
192
}
193
193
@@ -219,7 +219,7 @@ public struct Scheme: Equatable {
219
219
}
220
220
221
221
public var shouldUseLaunchSchemeArgsEnv : Bool {
222
- return commandLineArguments. isEmpty && environmentVariables. isEmpty
222
+ commandLineArguments. isEmpty && environmentVariables. isEmpty
223
223
}
224
224
}
225
225
@@ -272,7 +272,7 @@ extension Scheme.ExecutionAction: JSONObjectConvertible {
272
272
273
273
extension Scheme . ExecutionAction : JSONEncodable {
274
274
public func toJSONValue( ) -> Any {
275
- return [
275
+ [
276
276
" script " : script,
277
277
" name " : name,
278
278
" settingsTarget " : settingsTarget,
@@ -423,7 +423,7 @@ extension Scheme.Profile: JSONObjectConvertible {
423
423
424
424
extension Scheme . Profile : JSONEncodable {
425
425
public func toJSONValue( ) -> Any {
426
- return [
426
+ [
427
427
" commandLineArguments " : commandLineArguments,
428
428
" preActions " : preActions. map { $0. toJSONValue ( ) } ,
429
429
" postActions " : postActions. map { $0. toJSONValue ( ) } ,
@@ -442,7 +442,7 @@ extension Scheme.Analyze: JSONObjectConvertible {
442
442
443
443
extension Scheme . Analyze : JSONEncodable {
444
444
public func toJSONValue( ) -> Any {
445
- return [
445
+ [
446
446
" config " : config,
447
447
]
448
448
}
@@ -491,7 +491,7 @@ extension Scheme: NamedJSONDictionaryConvertible {
491
491
492
492
extension Scheme : JSONEncodable {
493
493
public func toJSONValue( ) -> Any {
494
- return [
494
+ [
495
495
" build " : build. toJSONValue ( ) ,
496
496
" run " : run? . toJSONValue ( ) ,
497
497
" test " : test? . toJSONValue ( ) ,
@@ -572,7 +572,7 @@ extension BuildType: JSONPrimitiveConvertible {
572
572
}
573
573
574
574
public static var all : [ BuildType ] {
575
- return [ . running, . testing, . profiling, . analyzing, . archiving]
575
+ [ . running, . testing, . profiling, . analyzing, . archiving]
576
576
}
577
577
}
578
578
0 commit comments