mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (minor optimization: PathInfo.ProviderPath is already a string)
GitOrigin-RevId: ddce5b19d4960c1382cded72fdf0a36df0908b84
This commit is contained in:
committed by
intellij-monorepo-bot
parent
daab24a7ff
commit
948d97fb65
@@ -23,7 +23,7 @@ try {
|
||||
$expanded = [System.Environment]::ExpandEnvironmentVariables($exclusion)
|
||||
$resolvedPaths = Resolve-Path -Path $expanded -ErrorAction Stop
|
||||
foreach ($resolved in $resolvedPaths) {
|
||||
$result += $resolved.ProviderPath.ToString()
|
||||
$result += $resolved.ProviderPath
|
||||
}
|
||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
||||
} catch [System.Management.Automation.DriveNotFoundException] {
|
||||
|
||||
Reference in New Issue
Block a user