File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
server/imports/simulators Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ module.exports = function bootstrap(serverWindow) {
38
38
) ;
39
39
40
40
child . stdout . on ( "data" , function ( data ) {
41
- serverWindow . webContents . send ( "info" , data ) ;
41
+ const message = data . toString ( ) ;
42
+ serverWindow . webContents . send ( "info" , message ) ;
42
43
} ) ;
43
44
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 ) ;
45
48
} ) ;
46
49
child . on ( "close" , function ( code ) {
47
50
if ( serverWindow && restartCount < 10 ) {
Original file line number Diff line number Diff line change 1
1
import App from "../../app" ;
2
2
import yazl from "yazl" ;
3
- import { aspectList } from "../../typedefs /flight" ;
3
+ import { aspectList } from "../../typeDefs /flight" ;
4
4
import addAsset from "../addAsset" ;
5
5
6
6
aspectList . push ( "stationSets" ) ;
You can’t perform that action at this time.
0 commit comments