lib/pdk/cli/console.rb in pdk-1.14.1 vs lib/pdk/cli/console.rb in pdk-1.15.0
- old
+ new
@@ -82,10 +82,10 @@
false
end
def check_fixtures_dir
existing_path = base_module_path.split(':').find do |path|
- Dir.exist?(path) && Dir.entries(path).length > 2
+ PDK::Util::Filesystem.directory?(path) && Dir.entries(path).length > 2
end
PDK.logger.warn _('Module fixtures not found, please run pdk bundle exec rake spec_prep.') unless existing_path
end
# @return [Array] - array of split options [{:"puppet-version"=>"6.9.0"}, ['--loglevel=debug']]