Skip to content

Commit

Permalink
test guard
Browse files Browse the repository at this point in the history
  • Loading branch information
aza547 committed Oct 11, 2022
1 parent 1aef1b0 commit 89c2c38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/logutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,14 +776,14 @@ const runRecordingTest = (endTest: boolean = true) => {
return;
}

if (wowProcessRunning !== null) {
console.info("[Logutils] WoW is running, starting test.");
testRunning = true;
} else {
if (wowProcessRunning === null) {
console.info("[Logutils] WoW isn't running, not starting test.");
return;
}

console.info("[Logutils] WoW is running, starting test.");
testRunning = true;

/**
* Return a combatlog formatted timestamp representing the current date/time
* adjusted acording to `seconds` (which can be negative).
Expand Down

0 comments on commit 89c2c38

Please sign in to comment.