From 94437e837b96cec8caa2d483f77df41b10462314 Mon Sep 17 00:00:00 2001 From: "mario.nebl@sinnerschrader.com" Date: Sun, 9 Jul 2017 21:10:06 +0200 Subject: [PATCH] fix(cli): remove destructuring for node 4 support --- @commitlint/cli/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/cli/cli.js b/@commitlint/cli/cli.js index ee0d639ccc..d0959716c1 100755 --- a/@commitlint/cli/cli.js +++ b/@commitlint/cli/cli.js @@ -5,7 +5,7 @@ require('babel-polyfill'); // eslint-disable-line import/no-unassigned-import const core = require('@commitlint/core'); const chalk = require('chalk'); const meow = require('meow'); -const {pick} = require('lodash'); +const pick = require('lodash').pick; const stdin = require('get-stdin'); const pkg = require('./package');