From 7d1f09662668f64f22a779a9cf541b1cff8684e9 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sun, 2 Sep 2018 20:05:14 +0100 Subject: [PATCH] Ask user to remove whole directory, not just .nimble-link. --- src/nimblepkg/packageinfo.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimblepkg/packageinfo.nim b/src/nimblepkg/packageinfo.nim index 9da59d5..9fbde28 100644 --- a/src/nimblepkg/packageinfo.nim +++ b/src/nimblepkg/packageinfo.nim @@ -316,7 +316,7 @@ proc findNimbleFile*(dir: string; error: bool): string = if not fileExists(result): let msg = "The .nimble-link file is pointing to a missing file: " & result let hintMsg = - "Remove '$1' or restore the file it points to." % nimbleLinkPath + "Remove '$1' or restore the file it points to." % dir display("Warning:", msg, Warning, HighPriority) display("Hint:", hintMsg, Warning, HighPriority)