mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
danger: Fix name code -> exitCode
This commit is contained in:
@@ -10,7 +10,7 @@ function isGitDeletedError(error: unknown) {
|
|||||||
return (
|
return (
|
||||||
typeof error === 'object' &&
|
typeof error === 'object' &&
|
||||||
error != null &&
|
error != null &&
|
||||||
error['code'] === 128 &&
|
error['exitCode'] === 128 &&
|
||||||
error['command']?.startsWith('git show ')
|
error['command']?.startsWith('git show ')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default function migrateBackboneToRedux() {
|
|||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
async run({ files, context }) {
|
async run({ files, context }) {
|
||||||
for (let file of files.touched) {
|
for (let file of files.modifiedOrCreated) {
|
||||||
let lines = await file.lines();
|
let lines = await file.lines();
|
||||||
let matchedLine: Line | null = null;
|
let matchedLine: Line | null = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user