Skip to content

Commit 8da835a

Browse files
author
Alex Anderson
committed
Emergency fix for 2.6.1
1 parent 1aeb32a commit 8da835a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

public/electron/helpers/bootstrap.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ module.exports = function bootstrap(serverWindow) {
3838
);
3939

4040
child.stdout.on("data", function(data) {
41-
serverWindow.webContents.send("info", data);
41+
const message = data.toString();
42+
serverWindow.webContents.send("info", message);
4243
});
4344
child.stderr.on("data", function(data) {
44-
serverWindow.webContents.send("info", data);
45+
const error = data.toString();
46+
if (error.includes("DeprecationWarning: Buffer()")) return;
47+
serverWindow.webContents.send("info", error);
4548
});
4649
child.on("close", function(code) {
4750
if (serverWindow && restartCount < 10) {

server/imports/simulators/export.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import App from "../../app";
22
import yazl from "yazl";
3-
import {aspectList} from "../../typedefs/flight";
3+
import {aspectList} from "../../typeDefs/flight";
44
import addAsset from "../addAsset";
55

66
aspectList.push("stationSets");

0 commit comments

Comments
 (0)