diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-11-30 15:25:11 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-11-30 15:25:11 -0500 |
commit | dba23140b99d1195f570bb76aa19a9091d4ced5d (patch) | |
tree | f02e815cb217c679c0f28a96cf612091ca023932 /src/lpm.lua | |
parent | 7328ad929bab08778b1e4c9c82c0e20934f62510 (diff) | |
download | lite-xl-plugin-manager-dba23140b99d1195f570bb76aa19a9091d4ced5d.tar.gz lite-xl-plugin-manager-dba23140b99d1195f570bb76aa19a9091d4ced5d.zip |
Fixed fetch_if_not_present.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
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 |