mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
corrected replacement of last backslash
This commit is contained in:
parent
cd0e97dc77
commit
bb27e38578
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ Try {
|
|||
}
|
||||
|
||||
# normalize path and remove slash at the end
|
||||
$path = (Get-Item $path).FullName -replace ".$"
|
||||
$path = (Get-Item $path).FullName -replace "\\$"
|
||||
|
||||
# need to (re-)create share
|
||||
If (!$share) {
|
||||
|
|
Loading…
Add table
Reference in a new issue