Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions 8 .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,18 @@ jobs:
Version: ${{ inputs.Version }}

- name: Commit all changes
continue-on-error: true
shell: pwsh
run: |
# Rename the gitignore file to .gitignore.bak
Rename-Item -Path '.gitignore' -NewName '.gitignore.bak' -Force

git add .
git commit -m 'Update documentation'

# Restore the gitignore file
Rename-Item -Path '.gitignore.bak' -NewName '.gitignore' -Force

- name: Lint documentation
uses: super-linter/super-linter/slim@latest
env:
Expand Down
8 changes: 8 additions & 0 deletions 8 .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,18 @@ jobs:
Version: ${{ inputs.Version }}

- name: Commit all changes
continue-on-error: true
shell: pwsh
run: |
# Rename the gitignore file to .gitignore.bak
Rename-Item -Path '.gitignore' -NewName '.gitignore.bak' -Force

git add .
git commit -m 'Update documentation'

# Restore the gitignore file
Rename-Item -Path '.gitignore.bak' -NewName '.gitignore' -Force

- name: Lint documentation
uses: super-linter/super-linter/slim@latest
env:
Expand Down
8 changes: 8 additions & 0 deletions 8 tests/srcTestRepo/src/functions/public/completers.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Register-ArgumentCompleter -CommandName New-PSModuleTest -ParameterName Name -ScriptBlock {
param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameters)
$null = $commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameters

'Alice', 'Bob', 'Charlie' | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#SkipTest:Verbose:Just want to test that a function can have multiple skips.
function Test-PSModuleTest {
function Test-PSModuleTest {
<#
.SYNOPSIS
Performs tests on a module.
Expand All @@ -16,5 +15,4 @@ function Test-PSModuleTest {
[string] $Name
)
Write-Output "Hello, $Name!"
Write-Verbose 'Verbose message' -Verbose
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.