Skip to content

Commit 7a66508

Browse files
committed
fix: filter for null/undefined
1 parent 685b466 commit 7a66508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sourceTracking.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,8 @@ export class SourceTracking extends AsyncCreatable {
611611
.filter(Boolean),
612612
deletedFiles: successes
613613
.filter((fileResponse) => fileResponse.state === ComponentStatus.Deleted)
614-
.map((fileResponse) => fileResponse.filePath as string),
614+
.map((fileResponse) => fileResponse.filePath as string)
615+
.filter(Boolean),
615616
}),
616617
this.updateRemoteTracking(
617618
successes.map(({ state, fullName, type, filePath }) => ({ state, fullName, type, filePath })),

0 commit comments

Comments
 (0)