From 95a92abea48d1dab08167984df7e4205403ca23e Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Fri, 13 Jun 2014 17:20:25 +0100 Subject: [PATCH] upgrade config-master --- bin/ws.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ws.js b/bin/ws.js index b1fe575..bbcc2df 100755 --- a/bin/ws.js +++ b/bin/ws.js @@ -37,7 +37,7 @@ function halt(message){ var storedConfig = loadConfig( path.join(homePath(), ".local-web-server.json"), path.join(process.cwd(), ".local-web-server.json"), - path.join(process.cwd(), "package.json:local-web-server") + { jsonPath: path.join(process.cwd(), "package.json"), configProperty: "local-web-server" } ); /* override stored config with values parsed from command line */ diff --git a/package.json b/package.json index a357547..d3425cf 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "command-line-args": "^0.2.0", "common-log-format": "^0.1.2", "compression": "^1.0.2", - "config-master": "~0.1.0", + "config-master": "~0.2.0", "connect": "^3.0.0", "console-dope": "^0.3.0", "home-path": "^0.1.1",