Skip to content
Permalink
Browse files

Face up... make your stand

And realise you're living in the golden years
  • Loading branch information
SQLDBAWithABeard committed Jan 9, 2020
1 parent f5a0bd1 commit aa66ebb1a5f18ee92d184308b778ff06267864b3
Showing with 2 additions and 2 deletions.
  1. +2 −2 dbachecks.psm1
@@ -9,9 +9,9 @@ function Import-ModuleFile {
)

if ($doDotSource) { . $Path }
else {
else {
try {
$ExecutionContext.InvokeCommand.InvokeScript($false, ([scriptblock]::Create([io.file]::ReadAllText($Path))), $null, $null)
$ExecutionContext.InvokeCommand.InvokeScript($false, ([scriptblock]::Create([io.file]::ReadAllText($Path))), $null, $null)
}
catch {
Write-Warning "Failed to import $Path"

0 comments on commit aa66ebb

Please sign in to comment.
You can’t perform that action at this time.