10 Commits

Author SHA1 Message Date
Ryan Zimmerman
20c82ab4dd
Run stricter linter to cleanup problems and force ES6 usage (#566)
Also shorten fs.write() promise code
2018-04-10 08:12:12 -04:00
wontem
7e2aba069f remove extra step in reading loop 2018-02-26 13:33:16 +03:00
RyanZim
5bfcb64b21 move() should error when src & dest are the same and src doesn't exist
Fixes #414; bug introduced in #378
2017-05-02 19:29:51 -04:00
RyanZim
afab94b7eb Don't override move & moveSync test's timeouts 2017-03-27 10:49:09 -04:00
RyanZim
a86d8b4ba1 Use Buffer.allocUnsafe() in enviroments that support it 2017-03-16 15:33:03 -04:00
RyanZim
b121cf0bed Use new Buffer() in moveSync() to support full Node.js v4 line 2017-03-15 16:17:26 -04:00
Mani Maghsoudlou
a4f6481ebf docs/readJson.md: Refactor example for readJson method, refactor move and moveSync tests descriptions 2017-03-08 14:38:25 -08:00
Mani Maghsoudlou
535fe8d393 Add more tests for moveSync when moving files into src subdir 2017-03-08 04:05:46 -08:00
Mani Maghsoudlou
08d7d3aaac Add prevent moving into itself and its tests 2017-03-08 00:59:08 -08:00
Mani Maghsoudlou
00063917f7 Add moveSync and its tests 2017-03-08 00:59:08 -08:00