onError -> error (#716)
This commit is contained in:
@@ -239,7 +239,7 @@ function findFilesRecursive (paths, cb) {
|
|||||||
function deleteFile (path) {
|
function deleteFile (path) {
|
||||||
if (!path) return
|
if (!path) return
|
||||||
fs.unlink(path, function (err) {
|
fs.unlink(path, function (err) {
|
||||||
if (err) dispatch('onError', err)
|
if (err) dispatch('error', err)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user