mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Reset mtimes on SCSS files in PluginTest as well.
This commit is contained in:
parent
52b0f22e92
commit
7b06cd2e65
1 changed files with 2 additions and 2 deletions
|
@ -356,8 +356,8 @@ CSS
|
|||
|
||||
def reset_mtimes
|
||||
atime = Time.now
|
||||
mtime = Time.now - 1
|
||||
Dir["{#{template_loc},#{tempfile_loc}}/**/*.{css,sass}"].each {|f| File.utime(atime, mtime, f)}
|
||||
mtime = Time.now - 5
|
||||
Dir["{#{template_loc},#{tempfile_loc}}/**/*.{css,sass,scss}"].each {|f| File.utime(atime, mtime, f)}
|
||||
end
|
||||
|
||||
def template_loc(name = nil, prefix = nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue