[Registry] Fix erroring

This commit is contained in:
Ducko 2022-03-11 17:32:27 +00:00
parent 69266fa156
commit 7da982b378

View file

@ -22,7 +22,7 @@ const spawn = (args, callback) => {
}; };
const add = (queue, callback) => { const add = (queue, callback) => {
const args = queue.shift(); let args = queue.shift();
if (!args) return callback(); if (!args) return callback();
args = [ 'add', ...args, '/f' ]; args = [ 'add', ...args, '/f' ];