Skip to content

Commit 2d16497

Browse files
authored
Update SSRC to use validator.isString instead of lodash for non-dev environment (#2523)
1 parent 86f4426 commit 2d16497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/remote-config/remote-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {
4242
InitServerTemplateOptions,
4343
ServerTemplateDataType,
4444
} from './remote-config-api';
45-
import { isString } from 'lodash';
4645

4746
/**
4847
* The Firebase `RemoteConfig` service interface.
@@ -205,6 +204,7 @@ export class RemoteConfig {
205204
if (options?.template) {
206205
template.set(options?.template);
207206
}
207+
208208
return template;
209209
}
210210
}
@@ -328,7 +328,7 @@ class ServerTemplateImpl implements ServerTemplate {
328328
*/
329329
public set(template: ServerTemplateDataType): void {
330330
let parsed;
331-
if (isString(template)) {
331+
if (validator.isString(template)) {
332332
try {
333333
parsed = JSON.parse(template);
334334
} catch (e) {

0 commit comments

Comments
 (0)