Fix show_style tool broken since 1.8.1

This commit is contained in:
Sandro Santilli 2014-03-31 12:48:40 +02:00
parent 312194228a
commit bbd4db6ddb

View File

@ -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;