提交 422f00b3 编写于 作者: Y yuuji.yaginuma

Ignore yarn error log file

上级 65bf1c60
......@@ -23,6 +23,7 @@
<% unless options[:skip_yarn] -%>
/vendor/node_modules
/vendor/yarn-error.log
<% end -%>
.byebug_history
......@@ -508,6 +508,11 @@ def test_generator_for_yarn_skipped
assert_file "config/initializers/assets.rb" do |content|
assert_no_match(/node_modules/, content)
end
assert_file ".gitignore" do |content|
assert_no_match(/vendor\/node_modules/, content)
assert_no_match(/vendor\/yarn-error\.log/, content)
end
end
def test_inclusion_of_jbuilder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册