Skip to content

Commit

Permalink
refactor: use parseInt for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Sep 24, 2022
1 parent 361240f commit 3a75a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/autoSwitcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class AutoSwitcher extends EventEmitter {
}
this.obsPairs.push({
scene: sceneName,
id: +source.sceneItemId!.toString(),
id: parseInt(source.sceneItemId!.toString()),
});
});
});
Expand Down

0 comments on commit 3a75a9c

Please sign in to comment.