Skip to content

Commit

Permalink
fix: isPluginRequired returns the opposite result in v7.8.0 (#10992)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea authored and nicolo-ribaudo committed Jan 12, 2020
1 parent 2ccc451 commit f995f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-preset-env/src/index.js
Expand Up @@ -32,7 +32,7 @@ import type { BuiltInsOption, ModuleOption } from "./types";

// TODO: Remove in Babel 8
export function isPluginRequired(targets: Targets, support: Targets) {
return !isRequired("fake-name", targets, {
return isRequired("fake-name", targets, {
compatData: { "fake-name": support },
});
}
Expand Down

0 comments on commit f995f8e

Please sign in to comment.