diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-03-20 11:40:12 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-03-20 11:40:12 -0400 |
commit | 753cc1f885786dcebb4ca336a09319b925217c48 (patch) | |
tree | f39c52f2cfec8805bbcb76d07db83845a4b99ddc | |
parent | f40cdf7b70a4e1b3bebbc09fb1d15826a4ca924e (diff) | |
download | lite-xl-plugin-manager-753cc1f885786dcebb4ca336a09319b925217c48.tar.gz lite-xl-plugin-manager-753cc1f885786dcebb4ca336a09319b925217c48.zip |
Remove unecessary require.
-rw-r--r-- | src/lpm.lua | 2 | ||||
-rw-r--r-- | t/run.lua | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 867c5c6..e4c309b 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -2502,7 +2502,7 @@ not commonly used publically. local env = { EXECUTABLE_EXTENSION = EXECUTABLE_EXTENSION, SHOULD_COLOR = SHOULD_COLOR, HOME = HOME, USERDIR = USERDIR, CACHEDIR = CACHEDIR, JSON = JSON, TABLE = TABLE, HEADER = HEADER, RAW = RAW, VERBOSE = VERBOSE, FILTRATION = FILTRATION, MOD_VERSION = MOD_VERSION, QUIET = QUIET, FORCE = FORCE, REINSTALL = REINSTALL, CONFIG = CONFIG, NO_COLOR = NO_COLOR, AUTO_PULL_REMOTES = AUTO_PULL_REMOTES, ARCH = ARCH, ASSUME_YES = ASSUME_YES, NO_INSTALL_OPTIONAL = NO_INSTALL_OPTIONAL, TMPDIR = TMPDIR, DATADIR = DATADIR, BINARY = BINARY, POST = POST, PROGRESS = PROGRESS, SYMLINK = SYMLINK, REPOSITORY = REPOSITORY, EPHEMERAL = EPHEMERAL, MASK = MASK, Addon = Addon, Repository = Repository, LiteXL = LiteXL, Bottle = Bottle, lpm = lpm, common = common, json = json, log = log, - settings = settings, repositories = repositories, lite_xls = lite_xls, system_bottle = system_bottle, progress_bar_label = progress_bar_label, write_progress_bar, + settings = settings, repositories = repositories, lite_xls = lite_xls, system_bottle = system_bottle, progress_bar_label = progress_bar_label, write_progress_bar = write_progress_bar, } for i,v in ipairs(common.concat(ARGS["plugin"] or {}, { common.split(":", os.getenv("LPM_PLUGINS") or "") }, lpm_plugins)) do if v ~= "" then @@ -1,4 +1,3 @@ -local json = require "libraries.json" local lpm local function assert_exists(path) if not io.open(path, "rb") then error("assertion failed: file " .. path .. " does not exist", 2) end end local function assert_not_exists(path) if io.open(path, "rb") then error("assertion failed: file " .. path .. " exists", 2) end end |