Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed Jul 26, 2023
1 parent 4d60ff3 commit c7378de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion modules/consentManagementGpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let consentData;
let addedConsentHook = false;

function pipeCallbacks(fn, {onSuccess, onError}) {
GreedyPromise.resolve(fn()).then(onSuccess, (err) => {
new GreedyPromise((resolve) => resolve(fn())).then(onSuccess, (err) => {
if (err instanceof GPPError) {
onError(err.message, ...err.args);
} else {
Expand Down
1 change: 0 additions & 1 deletion test/spec/libraries/cmp/cmpClient_spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {cmpClient, MODE_CALLBACK, MODE_RETURN} from '../../../../libraries/cmp/cmpClient.js';

describe('cmpClient', () => {

function mockWindow(props = {}) {
let listeners = [];
const win = {
Expand Down

0 comments on commit c7378de

Please sign in to comment.