Skip to content

Commit 2619098

Browse files
committed
fix formatting issues
1 parent b77ad49 commit 2619098

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

packages/data-connect/src/network/fetch.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ let connectFetch: typeof fetch | null = globalThis.fetch;
2525
export function initializeFetch(fetchImpl: typeof fetch): void {
2626
connectFetch = fetchImpl;
2727
}
28-
function getGoogApiClientValue(_isUsingGen: boolean, _callerSdkType: CallerSdkType): string {
28+
function getGoogApiClientValue(
29+
_isUsingGen: boolean,
30+
_callerSdkType: CallerSdkType
31+
): string {
2932
let str = 'gl-js/ fire/' + SDK_VERSION;
30-
if (_callerSdkType !== CallerSdkTypeEnum.Base && _callerSdkType !== CallerSdkTypeEnum.Generated) {
33+
if (
34+
_callerSdkType !== CallerSdkTypeEnum.Base &&
35+
_callerSdkType !== CallerSdkTypeEnum.Generated
36+
) {
3137
str += ' js/' + _callerSdkType.toLowerCase();
32-
} else if (_isUsingGen || _callerSdkType === CallerSdkTypeEnum.Generated) {
38+
} else if (_isUsingGen || _callerSdkType === CallerSdkTypeEnum.Generated) {
3339
str += ' js/gen';
3440
}
3541
return str;

packages/data-connect/src/network/transport/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ export type TransportClass = new (
6868
appCheckProvider?: AppCheckTokenProvider,
6969
transportOptions?: TransportOptions,
7070
_isUsingGen?: boolean,
71-
_callerSdkType?: CallerSdkType
71+
_callerSdkType?: CallerSdkType
7272
) => DataConnectTransport;

packages/data-connect/src/network/transport/rest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class RESTTransport implements DataConnectTransport {
4444
private appCheckProvider?: AppCheckTokenProvider | undefined,
4545
transportOptions?: TransportOptions | undefined,
4646
private _isUsingGen = false,
47-
private _callerSdkType: CallerSdkType = CallerSdkTypeEnum.Base,
47+
private _callerSdkType: CallerSdkType = CallerSdkTypeEnum.Base
4848
) {
4949
if (transportOptions) {
5050
if (typeof transportOptions.port === 'number') {

0 commit comments

Comments
 (0)