aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-11-30 15:25:11 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-11-30 15:25:11 -0500
commitdba23140b99d1195f570bb76aa19a9091d4ced5d (patch)
treef02e815cb217c679c0f28a96cf612091ca023932 /src
parent7328ad929bab08778b1e4c9c82c0e20934f62510 (diff)
downloadlite-xl-plugin-manager-dba23140b99d1195f570bb76aa19a9091d4ced5d.tar.gz
lite-xl-plugin-manager-dba23140b99d1195f570bb76aa19a9091d4ced5d.zip
Fixed fetch_if_not_present.
Diffstat (limited to 'src')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index e122fe9..824b286 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1144,7 +1144,7 @@ function Repository:generate_manifest(repo_id)
end
function Repository:fetch_if_not_present()
- if system.stat(self.local_path) then return end
+ if system.stat(self.local_path) then return self end
return self:fetch()
end