Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 9, 2020
1 parent c280263 commit 93ca9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/src/config/item.js
Expand Up @@ -40,7 +40,7 @@ export function createConfigItem(
}

export function getItemDescriptor(item: mixed): UnloadedDescriptor | void {
if (item?.[Symbol.for("@babel/core@7 - ConfigItem")] === true) {
if (item?.[CONFIG_ITEM_BRAND]) {
return item._descriptor;
}

Expand Down

0 comments on commit 93ca9c8

Please sign in to comment.