const diff:()

in src/dev-ops.ts [118:130]


  const diff: () => Promise<readonly FileChange[]> = async () => {
    const { stdout } = await originGitRepository({
      diff: ['--name-status', '--no-renames', targetBranch, sourceBranch],
    })

    return stdout
      .split('\n')
      .filter(v => v !== '')
      .map(line => ({
        kind: parseGitFileChangeKind(line),
        path: line.substr(2),
      }))
  }