onError -> error (#716)

This commit is contained in:
DC
2016-07-16 12:08:42 -07:00
committed by GitHub
parent beb4af1311
commit 897dac354d

View File

@@ -239,7 +239,7 @@ function findFilesRecursive (paths, cb) {
function deleteFile (path) {
if (!path) return
fs.unlink(path, function (err) {
if (err) dispatch('onError', err)
if (err) dispatch('error', err)
})
}