summary refs log tree commit diff stats
path: root/tools/atlas
diff options
context:
space:
mode:
authorSirOlaf <34164198+SirOlaf@users.noreply.github.com>2023-05-26 14:36:20 +0200
committerGitHub <noreply@github.com>2023-05-26 14:36:20 +0200
commitb50babd0ae248b1b62f04090f0c88b7803c8818c (patch)
tree6aa3081d2a5e8c256d8c6fbd3c7f9362f1abe451 /tools/atlas
parentab4d044a813c6033cf96d4653e3ae347cf5d75cd (diff)
downloadNim-b50babd0ae248b1b62f04090f0c88b7803c8818c.tar.gz
Atlas: Actually use deps for use command (#21922)
Co-authored-by: SirOlaf <>
Diffstat (limited to 'tools/atlas')
-rw-r--r--tools/atlas/atlas.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/atlas/atlas.nim b/tools/atlas/atlas.nim
index d455fd676..066adb3fc 100644
--- a/tools/atlas/atlas.nim
+++ b/tools/atlas/atlas.nim
@@ -787,8 +787,7 @@ proc main =
   of "use":
     projectCmd()
     singleArg()
-    discard clone(c, args[0], startIsDep = true)
-    var deps: seq[string] = @[]
+    var deps = clone(c, args[0], startIsDep = true)
     patchNimbleFile(c, args[0], deps)
     patchNimCfg c, deps, getCurrentDir()
     if c.errors > 0: