提交 1c472256 编写于 作者: J Jeremy Kemper

Merge pull request #12799 from arunagw/aa-av-test-fixes

Don't call sub! since it may return nil. Reverts 4d15661d.
......@@ -30,7 +30,7 @@ def logger
EMPTY = ''
def from_rails_root(string)
string.sub(rails_root, EMPTY).sub!(VIEWS_PATTERN, EMPTY)
string.sub(rails_root, EMPTY).sub(VIEWS_PATTERN, EMPTY)
end
def rails_root
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册