mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-13 17:40:25 +00:00
Merge pull request #48 from jesseleite/fix-clearing-config
Fix clearing project config
This commit is contained in:
commit
d6c84aafdf
@ -93,7 +93,9 @@ local function expand_dir(config)
|
||||
for k in pairs(projects) do
|
||||
local expanded_path = Path.new(k):expand()
|
||||
projects[expanded_path] = projects[k]
|
||||
projects[k] = nil
|
||||
if expanded_path ~= k then
|
||||
projects[k] = nil
|
||||
end
|
||||
end
|
||||
|
||||
return config
|
||||
|
Loading…
x
Reference in New Issue
Block a user