Skip to content

Commit

Permalink
chore: simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Jan 17, 2019
1 parent 35bbe01 commit ce16c3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/license-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const PLUGIN_NAME = 'rollup-plugin-license';
* @return {void}
*/
function validateOptions(options) {
const notSupported = _.filter(_.keys(options), (key) => (
!OPTIONS.has(key)
const notSupported = _.reject(_.keys(options), (key) => (
OPTIONS.has(key)
));

if (notSupported.length > 0) {
Expand Down

0 comments on commit ce16c3d

Please sign in to comment.