mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Merge pull request #758 from cflurin/master
Warning config.json not found
This commit is contained in:
@@ -150,6 +150,8 @@ Server.prototype._loadConfig = function() {
|
|||||||
|
|
||||||
// Complain and exit if it doesn't exist yet
|
// Complain and exit if it doesn't exist yet
|
||||||
if (!fs.existsSync(configPath)) {
|
if (!fs.existsSync(configPath)) {
|
||||||
|
log.warn("config.json (%s) not found.", configPath);
|
||||||
|
|
||||||
var config = {};
|
var config = {};
|
||||||
|
|
||||||
config.bridge = {
|
config.bridge = {
|
||||||
|
|||||||
Reference in New Issue
Block a user