• Lukas Eipert's avatar
    Create helper to get all changed files · 253e1818
    Lukas Eipert authored
    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.
    253e1818
Dangerfile 985 Bytes