Skip to content
代码片段 群组 项目
提交 6370e326 编辑于 作者: Mike Greiling's avatar Mike Greiling
浏览文件

recursively clean compiled fixtures

上级 2373082e
No related branches found
No related tags found
无相关合并请求
......@@ -13,7 +13,7 @@ module JavaScriptFixturesHelpers
#
def clean_frontend_fixtures(directory_name)
directory_name = File.expand_path(directory_name, FIXTURE_PATH)
Dir[File.expand_path('*.html.raw', directory_name)].each do |file_name|
Dir[File.expand_path('**/*.html.raw', directory_name)].each do |file_name|
FileUtils.rm(file_name)
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册