Skip to content
  • Rate limit · GitHub

    Access has been restricted

    You have triggered a rate limit.

    Please wait a few minutes before you try again;
    in some cases this may take up to an hour.

  • Notifications You must be signed in to change notification settings
  • Fork 43

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

FriedrichWeinmann committed Jul 8, 2024
1 parent fd57ba7 commit 331ead8
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions PSFramework/en-us/stringsUtility.psd1
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
'Import-PSFPowerShellDataFile.Error.Syntax' = 'File has an invalid PowerShell syntax: {0}' # $LiteralPath
'Import-PSFPowerShellDataFile.Error.Unsafe' = 'File is not safe to execute: {0}' # $LiteralPath

'New-PSFSupportPackage.Error.PathNotFound' = 'Path not found: "$Path". Ensure the path exists or use -Force to create it.' # $Path
'New-PSFSupportPackage.Header' = @"
Gathering information...
Will write the final output to: {0}
4 changes: 4 additions & 0 deletions PSFramework/functions/runspace/Write-PSFRunspaceQueue.ps1
Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@
.PARAMETER BulkValues
Write multiple values as separate entries.
.PARAMETER UseCurrent
Write to a queue in the current runspace workflow.
Only valid when used from within the code of a Runspace Workflow worker.
.PARAMETER Close
Closes the queue after writing the input.
This prevents further data to be added to the queue,
2 changes: 2 additions & 0 deletions PSFramework/functions/utility/New-PSFHashtable.ps1
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@
Returns a PSFHashtable that is a copy of the hashtable in $originHash, which will by default return $false when resolving undefined keys.
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")]
[OutputType([PSFramework.Object.PsfHashtable])]
[CmdletBinding()]
param (
[Hashtable]
2 changes: 1 addition & 1 deletion PSFramework/functions/utility/New-PSFSupportPackage.ps1
Original file line number Diff line number Diff line change
@@ -183,7 +183,7 @@
if ($PSCmdlet.ParameterSetName -eq 'Path') {
$outputFolderExists = Test-Path -Path $Path
if (-not $outputFolderExists -and -not $Force) {
Stop-PSFFunction -String 'New-PSFSupportPackage.Error.PathNotFound' -EnableException $EnableException
Stop-PSFFunction -String 'New-PSFSupportPackage.Error.PathNotFound' -StringValues $Path -EnableException $EnableException
return
}
if (-not $outputFolderExists) {

0 comments on commit 331ead8

Please sign in to comment.