Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
frankthelen committed Mar 27, 2019
1 parent 682c5df commit 5c52892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rools.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Rools {
premisesAgenda.forEach((premise) => {
try {
delegator.set((segment) => { // listen to reading fact segments
const segmentName = (typeof segment === 'symbol') ? segment.toString() : segment
const segmentName = (typeof segment === 'symbol') ? segment.toString() : segment;
this.logger.debug({ message: `read fact segment "${segmentName}"`, rule: premise.name });
memory.segmentRead(segment, premise);
});
Expand Down Expand Up @@ -93,7 +93,7 @@ class Rools {
try {
memory.clearDirtySegments();
delegator.set((segment) => { // listen to writing fact segments
const segmentName = (typeof segment === 'symbol') ? segment.toString() : segment
const segmentName = (typeof segment === 'symbol') ? segment.toString() : segment;
this.logger.debug({ message: `write fact segment "${segmentName}"`, rule: action.name });
memory.segmentWrite(segment);
});
Expand Down

0 comments on commit 5c52892

Please sign in to comment.