We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea9f62e commit 0b57d8eCopy full SHA for 0b57d8e
functions/clone/New-DcnClone.ps1
@@ -274,7 +274,7 @@
274
}
275
276
277
- # 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
278
if (($Destination | Select-String "\\" -AllMatches).Matches.Count -gt 1) {
279
if ($Destination.EndsWith("\")) {
280
$Destination = $Destination.Substring(0, $Destination.Length - 1)
0 commit comments