Small upd

This commit is contained in:
George Berezhnoy 2017-08-30 02:43:03 +03:00
commit b1dcd3872d
3 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -38,7 +38,6 @@ module.exports = (function (saver) {
for(let index = 0; index < blocks.length; index++) {
/** Add node to sequence at specified index */
data.push(getBlockData(blocks[index]));
}
@ -112,7 +111,7 @@ module.exports = (function (saver) {
*/
let validateBlockData = function ({data, pluginName}) {
if (!data && !pluginName) {
if (!data || !pluginName) {
return false;