fix an inverted boolean

pull/1/head
ansuz 2019-06-14 13:38:09 +02:00
parent f5a2627d86
commit d19b704bb8
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ var channelExists = function (filepath, channelName, cb) {
if (err) {
if (err.code === 'ENOENT') {
// no, the file doesn't exist
return void cb(void 0, true);
return void cb(void 0, false);
}
return void cb(err);
}