Problem description:
If I create a file named package.json
nested within a folder, its icon is the JSON icon instead of the NPM icon.
At root level, a file named package.json
will always have the NPM icon.
Expected behavior:
All files with the name package.json should have the NPM icon
Actual behavior:
Files nested within another folder with the name package.json
have the normal JSON icon
Steps to reproduce:
- Open a Repl
- Create a file named
package.json
at root level if you haven’t already - Create a folder in the Repl
- Create a file named
package.json
within it - Notice how the icons are different
Bug appears at this link:
Was able to reproduce in any Repl
Screenshot
Browser: Chrome
OS: MacOS
Device (Android, iOS, n/a leave blank): Macbook Pro 14" Ventura
Plan (Free, Hacker, Pro Plan): Pro Plan