Skip to content

Commit

Permalink
comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlydba authored Apr 20, 2022
1 parent ea9f62e commit 0b57d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/clone/New-DcnClone.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
}
}

# If not root dir, remove the last "\" from the path it would mess up the mount of the VHD
# If not root dir, remove the last "\" from the path, else it would mess up the mount of the VHD
if (($Destination | Select-String "\\" -AllMatches).Matches.Count -gt 1) {
if ($Destination.EndsWith("\")) {
$Destination = $Destination.Substring(0, $Destination.Length - 1)
Expand Down

0 comments on commit 0b57d8e

Please sign in to comment.