From 4958f45fc46ce9bf22a1487413c8290ae27b9082 Mon Sep 17 00:00:00 2001 From: Hisham Date: Wed, 19 Oct 2016 12:42:25 -0400 Subject: Avoid circular dependency. --- src/luarocks/repos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua index a5698b8f..f1d58da0 100644 --- a/src/luarocks/repos.lua +++ b/src/luarocks/repos.lua @@ -8,7 +8,6 @@ local cfg = require("luarocks.core.cfg") local util = require("luarocks.util") local dir = require("luarocks.dir") local manif = require("luarocks.manif") -local writer = require("luarocks.manif.writer") local deps = require("luarocks.deps") --- Get all installed versions of a package. @@ -332,6 +331,7 @@ function repos.delete_version(name, version, deps_mode, quick) return true end + local writer = require("luarocks.manif.writer") return writer.make_manifest(cfg.rocks_dir, deps_mode) end -- cgit v1.2.3-55-g6feb