woshilapin / codingame-connector

5 stars 0 forks source link

Remove usage of fs.stat() [not recommended] #14

Closed woshilapin closed 7 years ago

woshilapin commented 7 years ago

Using fs.stat() is reading the file so modifying it in some way. Anyway, in NodeJS documentation, usage of fs.stat() is not recommended to test for existence of a file.