style changes

This commit is contained in:
Barış Soner Uşaklı
2017-05-27 01:44:26 -04:00
parent bcc566fb68
commit 890c2eff70
16 changed files with 908 additions and 907 deletions

View File

@@ -84,7 +84,7 @@ function checkSetupFlag(next) {
}
function checkCIFlag(next) {
var ciVals;
var ciVals;
try {
ciVals = JSON.parse(nconf.get('ci'));
} catch (e) {
@@ -188,7 +188,7 @@ function setupDefaultConfigs(next) {
}
function enableDefaultTheme(next) {
var meta = require('./meta');
var meta = require('./meta');
meta.configs.get('theme:id', function (err, id) {
if (err || id) {
@@ -470,7 +470,7 @@ function enableDefaultPlugins(next) {
}
function setCopyrightWidget(next) {
var db = require('./database');
var db = require('./database');
async.parallel({
footerJSON: function (next) {
fs.readFile(path.join(__dirname, '../', 'install/data/footer.json'), next);
@@ -534,7 +534,7 @@ install.setup = function (callback) {
};
install.save = function (server_conf, callback) {
var serverConfigPath = path.join(__dirname, '../config.json');
var serverConfigPath = path.join(__dirname, '../config.json');
if (nconf.get('config')) {
serverConfigPath = path.resolve(__dirname, '../', nconf.get('config'));