Skip to content

Commit 05d3d76

Browse files
committed
Fixed up inits as suggested in review
1 parent aac6fe1 commit 05d3d76

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Sources/XcodeProj/Scheme/XCScheme+LaunchAction.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public extension XCScheme {
9696
selectedLauncherIdentifier: String = XCScheme.defaultLauncher,
9797
launchStyle: Style = .auto,
9898
askForAppToLaunch: Bool? = nil,
99-
pathRunnable _: PathRunnable? = nil,
10099
customWorkingDirectory: String? = nil,
101100
useCustomWorkingDirectory: Bool = false,
102101
ignoresPersistentStateOnLaunch: Bool = false,
@@ -171,7 +170,7 @@ public extension XCScheme {
171170

172171
@available(*, deprecated, message: "Use the init() that consolidates pathRunnable and runnable into a single parameter.")
173172
public convenience init(
174-
pathRunnable: PathRunnable?,
173+
runnable: Runnable?,
175174
buildConfiguration: String,
176175
preActions: [ExecutionAction] = [],
177176
postActions: [ExecutionAction] = [],
@@ -180,6 +179,7 @@ public extension XCScheme {
180179
selectedLauncherIdentifier: String = XCScheme.defaultLauncher,
181180
launchStyle: Style = .auto,
182181
askForAppToLaunch: Bool? = nil,
182+
pathRunnable: PathRunnable?,
183183
customWorkingDirectory: String? = nil,
184184
useCustomWorkingDirectory: Bool = false,
185185
ignoresPersistentStateOnLaunch: Bool = false,
@@ -222,7 +222,6 @@ public extension XCScheme {
222222
selectedLauncherIdentifier: selectedLauncherIdentifier,
223223
launchStyle: launchStyle,
224224
askForAppToLaunch: askForAppToLaunch,
225-
pathRunnable: pathRunnable,
226225
customWorkingDirectory: customWorkingDirectory,
227226
useCustomWorkingDirectory: useCustomWorkingDirectory,
228227
ignoresPersistentStateOnLaunch: ignoresPersistentStateOnLaunch,

0 commit comments

Comments
 (0)