Skip to content

Commit

Permalink
fix avo:sym_link path
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Aug 12, 2024
1 parent 3fc4448 commit 754f55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/avo_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ task "avo:sym_link" do
gem_paths = `bundle list --paths 2>/dev/null`.split("\n")

["avo-advanced", "avo-pro", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban"].each do |gem|
path = gem_paths.find { |gem_path| gem_path.include?(gem) }
path = gem_paths.find { |gem_path| gem_path.include?("/#{gem}-") }

# If path is nil we check if package is defined outside of root (on release process it is)
if path.nil?
Expand Down

0 comments on commit 754f55f

Please sign in to comment.