Skip to content

Commit

Permalink
ignoreInlineExport
Browse files Browse the repository at this point in the history
metelkin committed Sep 6, 2024

Verified

This commit was signed with the committer’s verified signature.
lemunozm Luis Enrique Muñoz Martín
1 parent d430395 commit 25799b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/container/actions.js
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@ Container.prototype.export = function(q = {}, isCore = false) {

// create and push to storage
let exportInstance = new exportClasses[q.format](q, isCore);
if (!exportInstance.errored && this._builder.export !== null) { // TODO: remove second check later
let ignoreInlineExport = this._builder.export?.length; // TODO: remove at version 0.10.0
if (!exportInstance.errored && !ignoreInlineExport) { // TODO: remove second check later
exportArray.push(exportInstance);
}

0 comments on commit 25799b1

Please sign in to comment.