mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Upgrade package versions
- Upgrade electron to 3.0.2 - Upgrade other dependencies to the latest versions - Clean up deprecated code
This commit is contained in:
@@ -143,7 +143,7 @@ function readResult(outputFileName, resolve, reject, childProcessErr) {
|
||||
|
||||
try {
|
||||
// convert binary data to base64 encoded string
|
||||
let output = Buffer(data).toString('base64');
|
||||
let output = Buffer.from(data).toString('base64');
|
||||
resolve({
|
||||
type: 'image/jpg;base64',
|
||||
data: output
|
||||
|
||||
Reference in New Issue
Block a user