Removes didUpdatePackages check without json file.
This commit is contained in:
parent
d2ff13144d
commit
cd8969d439
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue