Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Merging shortening paths #2

Merged
merged 7 commits into from
Nov 7, 2017
Prev Previous commit
Merge branch 'feature-AliasExtensions' into Short1
  • Loading branch information
AyoOlubeko authored Nov 7, 2017
commit 0eacebed0b3655a6af072d0d9e62b9b4f4f5ef2d
2 changes: 1 addition & 1 deletion Learning Modules/WtpConfig.psm1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Get and/or set PowerShell session to only run scripts targeting dbpertenant Wingtip deployment
$Global:ErrorActionPreference = "Stop"
$scriptsTarget = 'dbpertenant'

if ($Global:WingtipScriptsTarget -and ($Global:WingtipScriptsTarget -ne $scriptsTarget))
{
throw "This PowerShell session is setup to only run scripts targeting Wingtip '$Global:WingtipScriptsTarget' architecture. Open up a new PowerShell session to run scripts targeting Wingtip '$scriptsTarget' architecture."
Expand All @@ -11,7 +12,6 @@ elseif (!$Global:WingtipScriptsTarget)
Set-Variable WingtipScriptsTarget -option Constant -value $scriptsTarget -scope global
}


<#
.SYNOPSIS
Returns default configuration values that will be used by the Wingtip Tickets Platform application
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.