don't try to pin channels with invalid lengths

pull/1/head
ansuz 3 years ago
parent d21e79733e
commit ec928334d8

@ -1263,7 +1263,10 @@ define([
Array.prototype.push.apply(result, sfChannels); Array.prototype.push.apply(result, sfChannels);
} }
return result; return result.filter(function (channel) {
if (typeof(channel) !== 'string') { return; }
return [32, 48].indexOf(channel.length) !== -1;
});
}; };
var addPad = function (Env, path, pad, cb) { var addPad = function (Env, path, pad, cb) {

Loading…
Cancel
Save