Merge branch 'soon' into staging
This commit is contained in:
commit
92d50ded64
@ -876,7 +876,7 @@ define([
|
|||||||
var trashFiles = getTrashFiles();
|
var trashFiles = getTrashFiles();
|
||||||
var toClean = [];
|
var toClean = [];
|
||||||
fd.forEach(function (el, idx) {
|
fd.forEach(function (el, idx) {
|
||||||
if (typeof(el) !== "object") {
|
if (!el || typeof(el) !== "object") {
|
||||||
debug("An element in filesData was not an object.", el);
|
debug("An element in filesData was not an object.", el);
|
||||||
toClean.push(el);
|
toClean.push(el);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user