Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherd-l committed Jun 6, 2024
1 parent 30928e6 commit 7818df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/executors/ExecutorStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ExecutorStore {

// call processDeltaQueue on all executors immediately
public forceDeltaQueueProcessingOnAllExecutors(): void {
var didSubscriptionExecutorProcessDeltaQueue = false;
let didSubscriptionExecutorProcessDeltaQueue = false;

Object.values(this.store).forEach((executor) => {
if (
Expand Down
2 changes: 1 addition & 1 deletion src/shared/services/OneSignalEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class OneSignalEvent {
static async trigger(eventName: string, data?: any, emitter?: Emitter) {
if (!Utils.contains(SILENT_EVENTS, eventName)) {
const displayData = data;
let env = Utils.capitalize(SdkEnvironment.getWindowEnv().toString());
const env = Utils.capitalize(SdkEnvironment.getWindowEnv().toString());

if (displayData || displayData === false) {
Log.debug(`(${env}) » ${eventName}:`, displayData);
Expand Down

0 comments on commit 7818df6

Please sign in to comment.