Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
msdsk31795y@nitwhiz
I have some config pieces that I know I will be reusing over and over again in different places of the configuration. -
fs.writeFile is a promise so you can just return it. You don't need async or await.
You're wrapping a promise in a promise.
Related Rants
That's how I'm going to write my yaml files from now on. I goddamn hate yaml.
rant
yaml
automation