mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
spelling fixes (non-trivial, changing messages) (#25094)
Multiple spell fixes in single commit. Taking over existing PR as per comment - https://github.com/ansible/ansible/pull/23645#issuecomment-304312275 Original Author: klemens <ka7@github.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
9d8aa43c67
commit
07be5f2b67
25 changed files with 36 additions and 36 deletions
|
@ -29,11 +29,11 @@ $result = @{
|
|||
$path = Get-AnsibleParam -obj $params -name "path" -type "path" -failifempty $true -resultobj $result
|
||||
|
||||
If (-Not (Test-Path -Path $path -PathType Leaf)){
|
||||
Fail-Json $result "Specfied path $path does exist or is not a file."
|
||||
Fail-Json $result "Specified path $path does exist or is not a file."
|
||||
}
|
||||
$ext = [System.IO.Path]::GetExtension($path)
|
||||
If ( $ext -notin '.exe', '.dll'){
|
||||
Fail-Json $result "Specfied path $path is not a vaild file type; must be DLL or EXE."
|
||||
Fail-Json $result "Specified path $path is not a vaild file type; must be DLL or EXE."
|
||||
}
|
||||
|
||||
Try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue