JackDotJS / OptiBot

(DISCONTINUED) The original Discord bot for OptiFine. https://discord.gg/3mMpcwW
1 stars 0 forks source link

Replace all *sync() fs methods with promises #288

Open JackDotJS opened 3 years ago

JackDotJS commented 3 years ago

Part of the transition to public bot, sorta.

This mainly applies to all the FileSystem functions used throughout Vector. https://nodejs.org/docs/latest-v14.x/api/fs.html#fs_fs_promises_api

s/o to @jennasisis for not telling me about this until now 💅 ✨