-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Plugin loading is incorrectly memoized #13235
Copy link
Copy link
Closed
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacearea:plugin apilocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Metadata
Metadata
Assignees
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacearea:plugin apilocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Environments:
Steps to reproduce:
The problem is here:
prettier/src/common/load-plugins.js
Line 13 in 2c77149
Both plugins are serialized to the same string by
JSON.stringify.Expected output:
1 2Actual output:
1 1