add root: refs #6276
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2024-01-02 12:44:12 +01:00
parent 365e05d560
commit 924fe12a93
1 changed files with 2 additions and 4 deletions

View File

@ -8,6 +8,7 @@ module.exports = Self => {
},
returns: {
type: ['object'],
root: true
},
});
@ -30,11 +31,8 @@ module.exports = Self => {
if (operator) {
const printer = operator.printer();
console.log({
id: printer.id,
name: printer.name
});
return Array.isArray(printer) ? printer : [printer];
}
return [];
};
};