Skip to content

Commit

Permalink
Merge pull request #1446 from thematan/import-lodash-efficiently
Browse files Browse the repository at this point in the history
pref():import lodash efficiently
  • Loading branch information
kamilmysliwiec committed Aug 31, 2023
2 parents 42f09a8 + 5f267d1 commit 5cc7553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/config.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Inject, Injectable, Optional } from '@nestjs/common';
import { isUndefined } from '@nestjs/common/utils/shared.utils';
import { get, has, set } from 'lodash';
import get from 'lodash/get';
import has from 'lodash/has';
import set from 'lodash/set';
import {
CONFIGURATION_TOKEN,
VALIDATED_ENV_PROPNAME,
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/merge-configs.util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { set } from 'lodash';
import set from 'lodash/set';

export function mergeConfigObject(
host: Record<string, any>,
Expand Down

0 comments on commit 5cc7553

Please sign in to comment.