Skip to content

Commit

Permalink
[cli] Fix buffer deprecation error (#4270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianzchen committed Feb 21, 2022
1 parent c96a032 commit e16e7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/lib/node.js
Expand Up @@ -21,7 +21,7 @@ export const child_process = {
if (err) {
rej(err);
} else {
res({stdout: new Buffer(stdout), stderr: new Buffer(stderr)});
res({stdout: Buffer.from(stdout), stderr: Buffer.from(stderr)});
}
});
});
Expand Down

0 comments on commit e16e7cc

Please sign in to comment.