Skip to content

Commit

Permalink
Merge pull request #92 from mamhoff/fix-paths
Browse files Browse the repository at this point in the history
Fix: Add patch paths in `lib` BEFORE `flickwerk.add_paths`
  • Loading branch information
tvdeyen authored Dec 16, 2024
2 parents c50ebfc + aa7cad1 commit d6df90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solidus_support/engine_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def enable_solidus_engine_support(engine)
end
end

initializer "#{name}_#{engine}_patch_paths", after: "flickwerk.add_paths" do
initializer "#{name}_#{engine}_patch_paths", before: "flickwerk.add_paths" do
patch_paths = root.join("lib/patches/#{engine}").glob("*")
Flickwerk.patch_paths += patch_paths
end
Expand Down

0 comments on commit d6df90a

Please sign in to comment.