Skip to content

fix: Replacements#132

Closed
Glebkiselev11 wants to merge 1 commit intomicromatch:masterfrom
Glebkiselev11:fix-replacements
Closed

fix: Replacements#132
Glebkiselev11 wants to merge 1 commit intomicromatch:masterfrom
Glebkiselev11:fix-replacements

Conversation

@Glebkiselev11
Copy link

Hello, I found an interesting bug while i was working with pcss library. The pcss was broken only for me, while same project runs without problem for my collegs. While investigeting it, I found out the problem, my path to project was: "/projects/constructor/project_name", and this constructor name was the problem. Because if you call REPLACEMENTS['constructor'] it will return the function.

@kapitalistn
Copy link

kapitalistn commented Feb 22, 2025

Same by me with constructor. Fix worked. Thanks btw. But it's still not merged?)))

@NotEvenANeko
Copy link

Same issue here, this causes that pnpm workspace throws error when package directory contains constructor.

@danez
Copy link
Member

danez commented Mar 19, 2026

Fixed by #144

@danez danez closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants