fastlane/swift/main.swift in fastlane-2.73.0 vs fastlane/swift/main.swift in fastlane-2.74.0.beta.20180106010004
- old
+ new
@@ -16,12 +16,14 @@
var thread: Thread!
@objc func connectToFastlaneAndRunLane() {
runner.startSocketThread()
- Fastfile.runLane(named: argumentProcessor.currentLane, parameters: argumentProcessor.laneParameters())
- runner.disconnectFromFastlaneProcess()
+ let completedRun = Fastfile.runLane(named: argumentProcessor.currentLane, parameters: argumentProcessor.laneParameters())
+ if completedRun {
+ runner.disconnectFromFastlaneProcess()
+ }
doneRunningLane = true
}
func startFastlaneThread() {
@@ -38,6 +40,6 @@
// no op
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.1]
+// FastlaneRunnerAPIVersion [0.9.2]