aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-06-27 10:46:24 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-06-27 10:46:24 -0400
commit966bd543565beb00c36e4cd1ecaf4aac3b24c7ea (patch)
tree0ab5611cfccc313612d972d90c4eeb246b04472f /src/lpm.lua
parent02586b9fa37bc6ad42bd1e59321bb2334bec6433 (diff)
downloadlite-xl-plugin-manager-966bd543565beb00c36e4cd1ecaf4aac3b24c7ea.tar.gz
lite-xl-plugin-manager-966bd543565beb00c36e4cd1ecaf4aac3b24c7ea.zip
Fixed a bug on windows.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index c0690ae..f5f2824 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1148,7 +1148,7 @@ function Repository:fetch()
self.manifest = nil
end
if temporary_path then
- common.mkdirp(path)
+ common.mkdirp(common.dirname(path))
common.rename(temporary_path, path)
end
end)