diff options
author | garret <garret@airmail.cc> | 2022-11-20 02:55:04 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-11-20 02:55:04 +0000 |
commit | 1a525122f9ac9c7c27c69982c53257f42c57cd20 (patch) | |
tree | 1eae6c2156fd5bd49cd5efbeb49d8c4c0a1a8bfd /l0 | |
parent | 895bc32ca8b3a180e46b3ec47a2ddfba982d5dac (diff) | |
download | depctrl-feedmaker-1a525122f9ac9c7c27c69982c53257f42c57cd20.tar.gz depctrl-feedmaker-1a525122f9ac9c7c27c69982c53257f42c57cd20.tar.bz2 depctrl-feedmaker-1a525122f9ac9c7c27c69982c53257f42c57cd20.zip |
fake depctrl: write version record to a variable instead of stdout
Diffstat (limited to 'l0')
-rw-r--r-- | l0/DependencyControl.lua | 6 |
1 files changed, 1 insertions, 5 deletions
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, |