From cd8969d43931cb37fe49212fb5417cee2e5929c8 Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Wed, 13 Nov 2013 18:55:07 +0100 Subject: [PATCH] Removes didUpdatePackages check without json file. --- babel.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.nim b/babel.nim index 9ceea64..e29c4c9 100644 --- a/babel.nim +++ b/babel.nim @@ -317,7 +317,7 @@ proc install(packages: seq[String], verRange: PVersionRange): string = result = installFromDir(getCurrentDir(), false) else: if not existsFile(babelDir / "packages.json"): - if didUpdatePackages == false and prompt("Local packages.json not found, download it from internet?"): + if prompt("Local packages.json not found, download it from internet?"): update() install(packages, verRange) else: