Skip to content

Commit

Permalink
update live config check
Browse files Browse the repository at this point in the history
  • Loading branch information
Himyu committed Feb 7, 2024
1 parent 3953ac3 commit 22405a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions electron/setup/LiveEventsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export class LiveEventsConfig extends Setup {
const file = await readFile(configPath, 'utf-8')
const fileLines = file.split('\r\n')

if (LiveEventsConfig.lines.length === fileLines.length
&& LiveEventsConfig.lines.every((u) => fileLines.includes(u))) {
if (LiveEventsConfig.lines.every((u) => fileLines.includes(u))) {
this.setupComplete = true
} else {
this.emitErrorMessage('Live Events', 'incomplete')
Expand Down

0 comments on commit 22405a2

Please sign in to comment.