There was a bug where fileSystem.getFile would return an error when used via fs.exist(). This was due to not passing the opts to this.getDirectory in fileSystem.js, line 137. This PR will fix that bug.
fs.exists had the callback signature of (err, res) whereas Node.js fs.exists API returns a single argument in the callback ((exists), true|false). This PR will change the fs.exists API to match that of Node.js'.
Also, updated all dependencies to their latest versions and fixed Gruntfile to reflect newer versions.
There was a bug where fileSystem.getFile would return an error when used via fs.exist(). This was due to not passing the
opts
to this.getDirectory in fileSystem.js, line 137. This PR will fix that bug.fs.exists
had the callback signature of(err, res)
whereas Node.js fs.exists API returns a single argument in the callback ((exists)
, true|false). This PR will change the fs.exists API to match that of Node.js'.Also, updated all dependencies to their latest versions and fixed Gruntfile to reflect newer versions.