Skip to content

Commit

Permalink
release: Irregular 0.7.9
Browse files Browse the repository at this point in the history
Updating Manifest and CHANGELOG
  • Loading branch information
James Brundage committed Apr 16, 2024
2 parents 01c9367 + 187c1f2 commit 09ff4f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Irregular.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ $MyModule = $MyInvocation.MyCommand.ScriptBlock.Module
$ExecutionContext.SessionState.PSVariable.Set($myModule.Name, $MyModule)
$MyModule.pstypenames.insert(0, $myModule.Name)

$newDriveCommonParameters =
@{PSProvider='FileSystem';Scope='Global';ErrorAction='Ignore'}
New-PSDrive -Name $myModule.name @newDriveCommonParameters -Root ($myModule | Split-Path)

if ($home) {
$MyMyModule= "My$($myModule.name)"
New-PSDrive -Name $MyMyModule @newDriveCommonParameters -Root (Join-Path $home $MyMyModule)
}

Import-RegEx

foreach ($k in $script:_RegexLibrary.Keys) {
Expand Down

0 comments on commit 09ff4f6

Please sign in to comment.