danger: Fix name code -> exitCode
This commit is contained in:
parent
0b83ab497d
commit
23c95fd7f6
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ function isGitDeletedError(error: unknown) {
|
|||
return (
|
||||
typeof error === 'object' &&
|
||||
error != null &&
|
||||
error['code'] === 128 &&
|
||||
error['exitCode'] === 128 &&
|
||||
error['command']?.startsWith('git show ')
|
||||
);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ export default function migrateBackboneToRedux() {
|
|||
`,
|
||||
},
|
||||
async run({ files, context }) {
|
||||
for (let file of files.touched) {
|
||||
for (let file of files.modifiedOrCreated) {
|
||||
let lines = await file.lines();
|
||||
let matchedLine: Line | null = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue