Skip to content

Commit

Permalink
Fix: NVDA ensureSettings path not throwing unkown atName (#55)
Browse files Browse the repository at this point in the history
* Return in successful branch of ensureSettings for NVDA

* Actually, move the throw to an else...
  • Loading branch information
gnarf authored May 22, 2024
1 parent eb5ed3f commit 7157b74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/agent/driver-test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ export class DriverTestRunner {
return;
} else if (!atName) {
return;
} else {
throw new Error(`Unable to ensure proper settings. Unknown atName ${atName}`);
}
throw new Error(`Unable to ensure proper settings. Unknown atName ${atName}`);
}

/**
Expand Down

0 comments on commit 7157b74

Please sign in to comment.