From 1a525122f9ac9c7c27c69982c53257f42c57cd20 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 20 Nov 2022 02:55:04 +0000 Subject: fake depctrl: write version record to a variable instead of stdout --- l0/DependencyControl.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'l0/DependencyControl.lua') diff --git a/l0/DependencyControl.lua b/l0/DependencyControl.lua index 6dd008c..03e3018 100644 --- a/l0/DependencyControl.lua +++ b/l0/DependencyControl.lua @@ -1,12 +1,8 @@ -local inspect = require "inspect" local noop = function() end local function get_version_record(i) - local f = io.open("version", "w") - f:write(inspect(i)) - f:flush() - f:close() + __feedmaker_version = i return { checkVersion = noop, getConfigFileName = noop, -- cgit v1.2.3-70-g09d2