diff --git a/chrome/content/zotero/xpcom/utilities_internal.js b/chrome/content/zotero/xpcom/utilities_internal.js index 2e5d74e03f..ab32f87b3a 100644 --- a/chrome/content/zotero/xpcom/utilities_internal.js +++ b/chrome/content/zotero/xpcom/utilities_internal.js @@ -613,7 +613,7 @@ Zotero.Utilities.Internal = { * @param {String[]} args - An array of arguments to pass to the command * @return {String} */ - subprocess: async function (command, args) { + subprocess: async function (command, args = []) { // eslint-disable-next-line no-undef command = command.includes('/') ? command : await Subprocess.pathSearch(command);