Skip to content
Snippets Groups Projects
Commit 9accafeb authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Don't call 'canonicalizePath' on a path we just removed.

Fixes #3214.
parent ee56fe6b
No related branches found
No related tags found
No related merge requests found
......@@ -371,10 +371,9 @@ sandboxDelete verbosity _sandboxFlags globalFlags = do
++ "'.\nAssuming a shared sandbox. Please delete '"
++ sandboxDir ++ "' manually."
notice verbosity $ "Deleting the sandbox located at " ++ sandboxDir
removeDirectoryRecursive sandboxDir
absSandboxDir <- canonicalizePath sandboxDir
notice verbosity $ "Deleting the sandbox located at " ++ absSandboxDir
removeDirectoryRecursive absSandboxDir
let
pathInsideSandbox = isPrefixOf absSandboxDir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment