fix an inverted boolean
This commit is contained in:
@@ -219,7 +219,7 @@ var channelExists = function (filepath, channelName, cb) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
if (err.code === 'ENOENT') {
|
if (err.code === 'ENOENT') {
|
||||||
// no, the file doesn't exist
|
// no, the file doesn't exist
|
||||||
return void cb(void 0, true);
|
return void cb(void 0, false);
|
||||||
}
|
}
|
||||||
return void cb(err);
|
return void cb(err);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user