Posts by Tetsuo • 11 points
1 post
-
1
votes1
answer485
viewsQ: Asynchronously checking existing files
My code gets writes a file, but needs to check if the file already exists and, if it exists, rename it. It is possible to do this without using the fs.existsSync? My current code:…