Skip to content

Commit

Permalink
Fixed linting and test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaquu committed Jun 23, 2024
1 parent b58a442 commit 4e746a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lib/HAPServer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ describe(IsKnownHAPStatusError, () => {
.filter(error => error !== 0); // filter out HAPStatus.SUCCESS

for (const error of errorValues) {
// @ts-expect-error: type mismatch
const result = IsKnownHAPStatusError(error);
if (!result) {
fail("IsKnownHAPStatusError does not return true for error code " + error);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/controller/AdaptiveLightingController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ export class AdaptiveLightingController
brightnessAdjustmentRange: this.activeTransition.brightnessAdjustmentRange,
updateInterval: this.activeTransition.updateInterval,
notifyIntervalThreshold: this.activeTransition.notifyIntervalThreshold,
}
};

this.emit(AdaptiveLightingControllerEvents.UPDATE, update);
} else {
Expand Down

0 comments on commit 4e746a9

Please sign in to comment.