danger: Fix name code -> exitCode
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user