aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-11 21:59:24 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-11 21:59:24 -0500
commit0f9fb0343f983418051a88ef630c267e6954f3bb (patch)
treef42a6b362592a80b1233d5ac75b794a503a296e1 /src/lpm.lua
parent46bf49a25bd772413576d26e8a80020aaae7c9dd (diff)
downloadlite-xl-plugin-manager-0f9fb0343f983418051a88ef630c267e6954f3bb.tar.gz
lite-xl-plugin-manager-0f9fb0343f983418051a88ef630c267e6954f3bb.zip
Forgot debug message.v0.996
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 0d5879d..63343f8 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -584,8 +584,7 @@ function Plugin.is_path_different(path1, path2)
end
end
-function Plugin.is_plugin_different(downloaded_path, installed_path)
- print("K", downloaded_path, installed_path)
+function Plugin.is_plugin_different(downloaded_path, installed_path)
local is_downloaded_single = downloaded_path:find("%.lua$")
local is_installed_single = installed_path:find("%.lua$")
local target = is_downloaded_single and not is_installed_single and installed_path .. PATHSEP .. "init.lua" or installed_path