diff --git a/src/stdin/npx.js b/src/stdin/npx.js index 992eebc..3a63bee 100644 --- a/src/stdin/npx.js +++ b/src/stdin/npx.js @@ -13,6 +13,6 @@ module.exports = class extends StdinCommand { if (!input[0]) return this.client.log.warn('Usage: npx [args]'); const child = spawn('npx', input, { shell: true }); for await (const data of child.stdout) this.client.log.info('npx:', data.toString()); - for await (const data of child.stderr) this.client.warn.info('npx:', data.toString()); + for await (const data of child.stderr) this.client.log.warn('npx:', data.toString()); } -}; \ No newline at end of file +};