Gitignore and require moved to top

This commit is contained in:
Danielv123 committed 2017-01-04 10:19:17 +01:00
1 parent 12d1631922
commit e16d7b43ed
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -29,3 +29,4 @@ node_modules
Factorio*
/factorio
/instances
/sharedMods
+1 -1
View File
@@ -5,6 +5,7 @@ var child_process = require('child_process');
var path = require('path');
var syncRequest = require('sync-request');
var ncp = require('ncp').ncp;
var Rcon = require('simple-rcon');
// require config.json
var config = require('./config');
@@ -176,7 +177,6 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
// connect to the server with rcon
// IP, port, password
var Rcon = require('simple-rcon');
var client = new Rcon({
host: 'localhost',
port: instanceconfig.clientPort,