Skip to content

Commit

Permalink
Fix a constant-resolution error.
Browse files Browse the repository at this point in the history
Closes sass#388
  • Loading branch information
nex3 committed May 18, 2012
1 parent f0c840f commit 553f0e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions doc-src/SASS_CHANGELOG.md
Expand Up @@ -3,6 +3,11 @@
* Table of contents
{:toc}

## 3.1.19 (Unreleased)

* Fix an `uninitialized constant Sass::Exec::Sass::Util` error when using the
command-line tool.

## 3.1.18

* Ruby 2.0 compatibility. Thanks to [Jeremy
Expand Down
4 changes: 2 additions & 2 deletions lib/sass/exec.rb
Expand Up @@ -452,7 +452,7 @@ def split_colon_path(path)
def probably_dest_dir?(path)
return false unless path
return false if colon_path?(path)
return Sass::Util.glob(File.join(path, "*.s[ca]ss")).empty?
return ::Sass::Util.glob(File.join(path, "*.s[ca]ss")).empty?
end
end

Expand Down Expand Up @@ -584,7 +584,7 @@ def process_directory
end

ext = @options[:from]
Sass::Util.glob("#{@options[:input]}/**/*.#{ext}") do |f|
::Sass::Util.glob("#{@options[:input]}/**/*.#{ext}") do |f|
output =
if @options[:in_place]
f
Expand Down

0 comments on commit 553f0e0

Please sign in to comment.