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: