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 c3d20bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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
1 change: 0 additions & 1 deletion src/shared/api/OneSignalApiBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class OneSignalApiBase {
callHeaders.append('SDK-Version', `onesignal/web/${Environment.version()}`);
callHeaders.append('Content-Type', 'application/json;charset=UTF-8');


if (headers) {
headers.forEach((value, key) => {
callHeaders.append(key, value);
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 c3d20bd

Please sign in to comment.