Skip to content

Commit

Permalink
CHANGE lodash imports to lodash/*
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Feb 17, 2020
1 parent b89d34e commit 107df6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/danger/dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { execSync } from 'child_process';

execSync('npm install lodash');

const { flatten, intersection, isEmpty } = require('lodash');
const flatten = require('lodash/flatten');
const intersection = require('lodash/intersection');
const isEmpty = require('lodash/isEmpty');

const pkg = require('../../package.json'); // eslint-disable-line import/newline-after-import
const prLogConfig = pkg['pr-log'];
Expand Down

0 comments on commit 107df6c

Please sign in to comment.