Skip to content

Commit

Permalink
Remove the switch
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximLipnin committed Apr 2, 2021
1 parent 646976a commit 3613581
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions src/tasks/AppleAppBuilder/AppleAppBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,7 @@ public string TargetOS

set
{
switch (value.ToLower())
{
case TargetNames.iOS:
targetOS = TargetNames.iOS;
break;
case TargetNames.iOSsim:
targetOS = TargetNames.iOSsim;
break;
case TargetNames.tvOS:
targetOS = TargetNames.tvOS;
break;
case TargetNames.tvOSsim:
targetOS = TargetNames.tvOSsim;
break;
case TargetNames.MacCatalyst:
targetOS = TargetNames.MacCatalyst;
break;
default:
targetOS = value;
break;
}
targetOS = value.ToLower();
}
}

Expand Down

0 comments on commit 3613581

Please sign in to comment.