Skip to content

Commit 06983f1

Browse files
committed
Print out the root dirs in the test debug
1 parent 409b4f2 commit 06983f1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

decidim-core/spec/lib/dependency_resolver_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ module Decidim
218218
puts ">>>>> root"
219219
puts root_path
220220
puts "<<<<< root"
221+
puts ">>>>> root dirs"
222+
Dir.entries(root_path).each do |item|
223+
path = File.join(root_path, item)
224+
next if !File.directory?(path) || item == "." || item == ".."
225+
226+
puts path
227+
end
228+
puts "<<<<< root dirs"
221229
puts ">>>>> dependencies"
222230
definition.dependencies.each { |dep| puts dep.name }
223231
puts "<<<<< dependencies"

0 commit comments

Comments
 (0)