bool ShouldRunActionInConsole(ProcessPackageAction action) { if (action.HasPackageScriptsToRun()) { if (powerShellDetection.IsPowerShell2Installed()) { return true; } else { ReportPowerShellIsNotInstalled(); } } return false; }
bool ShouldRunActionInConsole(ProcessPackageAction action) { if (action.HasPackageScriptsToRun()) { if (powerShellDetection.IsPowerShell2Installed()) { return(true); } else { ReportPowerShellIsNotInstalled(); } } return(false); }
bool ShouldRunActionInConsole(ProcessPackageAction action) { return action.HasPackageScriptsToRun(); }