Skip to content

Commit 3c13997

Browse files
committed
fmt
1 parent 2459a11 commit 3c13997

File tree

3 files changed

+1
-4
lines changed
  • dev-packages/browser-integration-tests/suites/integrations/featureFlags
  • packages/browser/src/utils

3 files changed

+1
-4
lines changed

dev-packages/browser-integration-tests/suites/integrations/featureFlags/openfeature/onSpan/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ window.initialize = () => {
2222
},
2323
};
2424
};
25-

dev-packages/browser-integration-tests/suites/integrations/featureFlags/unleash/onSpan/init.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ window.UnleashClient = class {
4343
// Not a mock UnleashClient class method since it needs to match the signature of the actual UnleashClient.
4444
window.setVariant = (client, featureName, variantName, isEnabled) => {
4545
client._featureToVariant[featureName] = { name: variantName, enabled: isEnabled, feature_enabled: isEnabled };
46-
}
46+
};
4747

4848
window.Sentry = Sentry;
4949
window.sentryUnleashIntegration = Sentry.unleashIntegration({ featureFlagClientClass: window.UnleashClient });
@@ -57,4 +57,3 @@ Sentry.init({
5757
Sentry.browserTracingIntegration({ instrumentNavigation: false, instrumentPageLoad: false }),
5858
],
5959
});
60-

packages/browser/src/utils/featureFlags.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export function insertToFlagBuffer(
104104
// If at capacity, pop the earliest flag - O(n)
105105
flags.shift();
106106
} else {
107-
108107
return;
109108
}
110109
}

0 commit comments

Comments
 (0)