Skip to content

Commit

Permalink
Remove unnecessary spread operator
Browse files Browse the repository at this point in the history
Co-Authored-By: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
AdamRamberg and nicolo-ribaudo committed Aug 19, 2019
1 parent 50b40bf commit 3200020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-preset-env/src/normalize-options.js
Expand Up @@ -32,7 +32,7 @@ const validateTopLevelOptions = (options: Options) => {
}
};

const allPluginsList = [...Object.keys(pluginsList)];
const allPluginsList = Object.keys(pluginsList);

// NOTE: Since module plugins are handled seperatly compared to other plugins (via the "modules" option) it
// should only be possible to exclude and not include module plugins, otherwise it's possible that preset-env
Expand Down

0 comments on commit 3200020

Please sign in to comment.