Skip to content

Commit

Permalink
Fix for 1.8.x not having Dir.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Dec 13, 2013
1 parent 516ab31 commit 32e0f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mspec/opal/rake_task.rb
Expand Up @@ -159,7 +159,7 @@ def rubyspec_paths
rubyspec_dir = "#{basedir}/rubyspec"
rubyspec_white_list.map do |path|
dirname = File.join rubyspec_dir, path
if Dir.exist? dirname
if File.directory? dirname
rubyspec_paths_in_dir(dirname, path)
else
path
Expand Down

0 comments on commit 32e0f6e

Please sign in to comment.