diff --git a/lib/update.js b/lib/update.js index ba72d30..8f159d5 100644 --- a/lib/update.js +++ b/lib/update.js @@ -31,6 +31,7 @@ if (Update) { if (plugin) opts.cwd = `plugins/${plugin}`; return new Promise(resolve => { exec(cmd, { windowsHide: true, ...opts }, (error, stdout, stderr) => { + stdout = stdout.trim(); resolve({ error, stdout, stderr }); }); });