This commit is contained in:
@@ -83,7 +83,7 @@ pipeline {
|
|||||||
if ([string]::IsNullOrWhiteSpace($Path)) {
|
if ([string]::IsNullOrWhiteSpace($Path)) {
|
||||||
return $Path
|
return $Path
|
||||||
}
|
}
|
||||||
$normalized = $Path -replace '\\', '/'
|
$normalized = $Path.Replace('\', '/')
|
||||||
if ($normalized -match '^([A-Za-z]):/(.*)$') {
|
if ($normalized -match '^([A-Za-z]):/(.*)$') {
|
||||||
return '/' + $matches[1].ToLower() + '/' + $matches[2]
|
return '/' + $matches[1].ToLower() + '/' + $matches[2]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user