fix an inverted boolean

This commit is contained in:
ansuz committed 2019-06-14 13:38:09 +02:00
1 parent f5a2627d86
commit d19b704bb8
1 file changed
+1 -1
+1 -1
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);
}