mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-29 19:20:39 +02:00
buffer warning fix
This commit is contained in:
@@ -34,7 +34,7 @@ if (latex === -1) {
|
||||
process.exit(1);
|
||||
}
|
||||
base64 = process.argv[base64+1];
|
||||
latex = new Buffer(base64, "base64").toString();
|
||||
latex = Buffer.from(base64, "base64").toString();
|
||||
} else {
|
||||
// get the --latex value
|
||||
var args = Array.from(process.argv);
|
||||
|
Reference in New Issue
Block a user