fix an inverted boolean

pull/1/head
ansuz 6 years ago
parent f5a2627d86
commit d19b704bb8

@ -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);
}

Loading…
Cancel
Save