Revert meme
This commit is contained in:
parent
6446cfd9bd
commit
6c50af8445
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ exports.run = async (message, args) => {
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
});
|
});
|
||||||
child.stderr.once("data", (error) => {
|
child.stderr.once("data", (error) => {
|
||||||
if (error) throw error.toString();
|
if (error) throw error;
|
||||||
});
|
});
|
||||||
child.stdout.once("close", () => {
|
child.stdout.once("close", () => {
|
||||||
const data = Buffer.concat(chunks);
|
const data = Buffer.concat(chunks);
|
||||||
|
|
Loading…
Reference in a new issue