Create helper to get all changed files
Danger apparently has three different objects which could contain files you often want to check: - git.added_files - git.modified_files - git.renamed_files The problem: If a file is renamed, `modified_files` contains the file path before the rename. In some Danger checks we use `added_files` + `modified_files`, which might contain the deleted paths of renamed files, but missing the new paths of renamed files. So we need to consider `renamed_files` as well.
显示
- Dangerfile 1 个添加, 0 个删除Dangerfile
- danger/database/Dangerfile 1 个添加, 3 个删除danger/database/Dangerfile
- danger/documentation/Dangerfile 1 个添加, 3 个删除danger/documentation/Dangerfile
- danger/eslint/Dangerfile 1 个添加, 1 个删除danger/eslint/Dangerfile
- danger/plugins/helper.rb 34 个添加, 0 个删除danger/plugins/helper.rb
- danger/prettier/Dangerfile 1 个添加, 1 个删除danger/prettier/Dangerfile
danger/plugins/helper.rb
0 → 100644
想要评论请 注册 或 登录