fix(utils): read dir recursive (#10318)

What:
 - Using `Object.defineProperty) to avoid issues on Node versions that set this property as readonly.
This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2024-11-27 14:37:07 +00:00
1 parent e04c9cfb04
commit e9003c3124
3 files changed
+20 -6

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/utils": patch
---
fix(utils): set readonly property on recursive dir read