From bbd4db6ddb3b368263aa4598b88e7bada101ea5c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 31 Mar 2014 12:48:40 +0200 Subject: [PATCH] Fix show_style tool broken since 1.8.1 --- tools/show_style | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/show_style b/tools/show_style index 1cb1d09e..66ae5924 100755 --- a/tools/show_style +++ b/tools/show_style @@ -38,7 +38,8 @@ if ( ! username ) usage(me, 1); console.log("Using environment " + ENV); global.environment = require('../config/environments/' + ENV); -var serverOptions = require('../lib/cartodb/server_options'); // _after_ setting global.environment +// _after_ setting global.environment +var serverOptions = require('../lib/cartodb/server_options')(); var client; var dbname;