solara/lib/solara.rb in solara-0.2.2 vs solara/lib/solara.rb in solara-0.2.3

- old
+ new

@@ -185,11 +185,13 @@ if File.exist?(brands) && platform.empty? SolaraSettingsManager.instance.platform = PlatformDetector.new.platform end end - def check_project_health - DoctorManager.new.visit_project! + def check_project_health(ensure_switched: false) + manager = DoctorManager.new + manager.visit_project! + manager.ensure_switched if ensure_switched end def validate_brand_key(brand_key, ignore_if_nil: false, ignore_brand_check: false, message: nil) if ignore_if_nil && brand_key.nil? return brand_key \ No newline at end of file