minor refactor

pull/3164/head
Yunus Emre Kalkan 5 years ago
parent 7ec39e4c7a
commit 6dc03b67ab

@ -17,9 +17,9 @@ namespace Volo.Abp.Cli.ProjectBuilding.Building
{
case MobileApp.ReactNative:
return "react-native";
default:
return null;
}
throw new Exception("Mobile app folder name is not set!");
}
}
}

@ -77,7 +77,7 @@ namespace Volo.Abp.Cli.ProjectBuilding.Templates.App
if (context.BuildArgs.MobileApp != MobileApp.ReactNative)
{
steps.Add(new RemoveFolderStep(MobileApp.ReactNative.GetFolderName()?.EnsureStartsWith('/')));
steps.Add(new RemoveFolderStep(MobileApp.ReactNative.GetFolderName().EnsureStartsWith('/')));
}
}

Loading…
Cancel
Save