Skip to content

Commit

Permalink
adjusted argument completers to support 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
techthoughts2 committed Dec 31, 2023
1 parent ef40599 commit 515eaae
Show file tree
Hide file tree
Showing 4 changed files with 3,960 additions and 3,900 deletions.
2 changes: 1 addition & 1 deletion src/pwshEmojiExplorer.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Add-BuildTask Build {
#$private = "$script:ModuleSourcePath\Private"
$scriptContent = [System.Text.StringBuilder]::new()
#$powerShellScripts = Get-ChildItem -Path $script:ModuleSourcePath -Filter '*.ps1' -Recurse
$powerShellScripts = Get-ChildItem -Path $script:ArtifactsPath -Recurse | Where-Object { $_.Name -match '^*.ps1$' }
$powerShellScripts = Get-ChildItem -Path $script:ArtifactsPath -Recurse | Where-Object { $_.Name -match '^*.ps1$' -and $_.Name -ne 'ArgumentCompleters.ps1' }
foreach ($script in $powerShellScripts) {
$null = $scriptContent.Append((Get-Content -Path $script.FullName -Raw))
$null = $scriptContent.AppendLine('')
Expand Down
Loading

0 comments on commit 515eaae

Please sign in to comment.