Skip to content

Commit 3dae5e3

Browse files
author
David Gómez Matarrodona
committed
bug fixes. new jsexpr
1 parent 44fe54e commit 3dae5e3

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

lib/nsyslog/globaldb.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ class GlobalDB {
2323
let json = JSON.parse(raw);
2424

2525
Object.keys(json).forEach(k=>{
26+
logger.debug(`Setting global key ${k}`,json[k]);
2627
Shm.hset('global',k,json[k]);
28+
global._[k] = json[k];
2729
});
2830
}catch(err) {
2931
logger.error(err);

package-lock.json

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"fs-extra": "^5.0.0",
5050
"glob": "^7.1.2",
5151
"ioredis": "^3.2.2",
52-
"jsexpr": "^0.9.3",
52+
"jsexpr": "^0.10.1",
5353
"json-colorizer": "^2.2.1",
5454
"jsonlint": "^1.6.3",
5555
"jsonpath-plus": "^3.0.0",

0 commit comments

Comments
 (0)