Skip to content

Commit

Permalink
refactor: handle null AND undefined in reset?
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Oct 18, 2023
1 parent fe9bbc4 commit 480821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/remoteSourceTrackingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class RemoteSourceTrackingService extends ConfigFile<RemoteSourceTracking
this.initSourceMembers();

const members =
toRevision !== undefined
toRevision !== undefined && toRevision !== null
? await this.querySourceMembersTo(toRevision)
: await this.querySourceMembersFrom({ fromRevision: 0 });

Expand Down

0 comments on commit 480821e

Please sign in to comment.