Skip to content

Commit bc98cda

Browse files
committed
lint
1 parent 7191473 commit bc98cda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/util/configurator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ function applySpecialConfig(type, entity) {
6060
var fs = require('fs');
6161
var hostname = fs.readFileSync('/etc/hostname');
6262
hostname = hostname.toString().trim();
63-
if (entity.redirectURI.indexOf("set-automatically")>=0 && process.env.AGILE_HOST) {
63+
if (entity.redirectURI.indexOf("set-automatically") >= 0 && process.env.AGILE_HOST) {
6464
entity.redirectURI = entity.redirectURI.replace("set-automatically", process.env.AGILE_HOST);
65-
} else if (entity.redirectURI.indexOf("set-automatically")>=0 && hostname) {
65+
} else if (entity.redirectURI.indexOf("set-automatically") >= 0 && hostname) {
6666
entity.redirectURI = entity.redirectURI.replace("set-automatically", hostname);
6767
}
6868
resolve(entity);

routes/api/entity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ function RouterApi(conf, tokenConf, idmcore, router) {
231231
session: false
232232
}),
233233
function (req, res) {
234-
console.log("conf gui "+JSON.stringify(tokenConf))
234+
console.log("conf gui " + JSON.stringify(tokenConf))
235235
if (conf.hasOwnProperty("schema-validation")) {
236236
res.json({
237237
schema: conf["schema-validation"],
238-
ui: tokenConf["gui"]||{}
238+
ui: tokenConf["gui"] || {}
239239
});
240240
} else {
241241
res.statusCode = 500;

0 commit comments

Comments
 (0)