Skip to content

Commit 73db0d0

Browse files
Update functions/microwin/Force-CleanupMountDirectory.ps1
Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com>
1 parent 54c9d4e commit 73db0d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/microwin/Force-CleanupMountDirectory.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function Force-CleanupMountDirectory {
4444

4545
# Try to set the mount directory and its contents to not readonly
4646
try {
47-
if (Test-Path $MountPath) {
47+
if (Test-Path "$MountPath") {
4848
& attrib -R "$MountPath\*" /S /D 2>$null
4949
}
5050
} catch {

0 commit comments

Comments
 (0)