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

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

Fixes #3214.

(cherry picked from commit 9accafeb)
parent 9d89cc70
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