Fix a bug in FSSM for ruby 1.9. Closes GH-48.
This commit is contained in:
parent
9e93da16cc
commit
bad615ef09
2
lib/vendor/fssm/state.rb
vendored
2
lib/vendor/fssm/state.rb
vendored
@ -37,7 +37,7 @@ class FSSM::State
|
|||||||
end
|
end
|
||||||
|
|
||||||
def add_glob(snap, glob)
|
def add_glob(snap, glob)
|
||||||
Pathname.glob(@path.to_pathname.join(glob)).each do |fn|
|
Pathname.glob(@path.to_pathname.join(glob).to_s).each do |fn|
|
||||||
next unless fn.file?
|
next unless fn.file?
|
||||||
snap["#{fn}"] = fn.mtime
|
snap["#{fn}"] = fn.mtime
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user