Skip to content
代码片段 群组 项目
未验证 提交 d46eb0c3 编辑于 作者: Kerri Miller's avatar Kerri Miller 提交者: GitLab
浏览文件

Add lib/ to dirs scanned by unused method linter

上级 11b09af8
No related branches found
No related tags found
无相关合并请求
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# Build an array of filename globs to process. # Build an array of filename globs to process.
# Only search file types that might use or define a helper. # Only search file types that might use or define a helper.
# #
extensions = %w[rb haml erb].map { |ext| "{ee/,}app/**/*.#{ext}" } extensions = %w[rb haml erb].flat_map { |ext| ["{ee/,}app/**/*.#{ext}", "{ee/,}lib/**/*.#{ext}"] }
# Build a hash of all the source files to search. # Build a hash of all the source files to search.
# Key is filename, value is an array of the lines. # Key is filename, value is an array of the lines.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册