keystonejs / keystone-email

⚠️ Archived - Legacy email helper for KeystoneJS Apps
MIT License
29 stars 40 forks source link

Usage of fs.statSync #29

Open export-mike opened 7 years ago

export-mike commented 7 years ago

Hey,

Just been debugging Keystone email and I discovered its using fs.statSync?

I've always been discouraged to use synchronous api's in a node process like a webserver. This request will block the server, so I'm just wondering whats the reason for this package to use fs.statSync?