fastlane/lib/fastlane/command_line_handler.rb in fastlane-2.69.0.beta.20171212010004 vs fastlane/lib/fastlane/command_line_handler.rb in fastlane-2.69.0
- old
+ new
@@ -25,10 +25,15 @@
else
lane = platform_lane_info[0]
end
dot_env = Helper.is_test? ? nil : options.env
- Fastlane::LaneManager.cruise_lane(platform, lane, lane_parameters, dot_env)
+
+ if FastlaneCore::FastlaneFolder.swift?
+ Fastlane::SwiftLaneManager.cruise_lane(lane, lane_parameters, dot_env)
+ else
+ Fastlane::LaneManager.cruise_lane(platform, lane, lane_parameters, dot_env)
+ end
end
# Helper to convert into the right data type
def self.convert_value(value)
return true if value == 'true' || value == 'yes'