Skip to content

Commit

Permalink
fix: python package discovery on target rather than source (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpasmantier authored Aug 24, 2024
1 parent eae39ca commit fc87bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pymple/update_imports/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function M.prepare_jobs(source, destination, filetypes, python_root)
if m_job then
table.insert(replace_jobs, m_job)
end
elseif utils.recursive_dir_contains_python_files(source) then
elseif utils.recursive_dir_contains_python_files(destination) then
log.debug("Operating on a directory")
local m_job = make_monolithic_imports_job(s, d, filetypes)
if m_job then
Expand Down

0 comments on commit fc87bba

Please # to comment.