mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +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
|
for k in pairs(projects) do
|
||||||
local expanded_path = Path.new(k):expand()
|
local expanded_path = Path.new(k):expand()
|
||||||
projects[expanded_path] = projects[k]
|
projects[expanded_path] = projects[k]
|
||||||
projects[k] = nil
|
if expanded_path ~= k then
|
||||||
|
projects[k] = nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user