Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
raghu-findem committed Jul 7, 2021
1 parent e45bd8d commit 1e7e3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ Parser.prototype = {
var seenAttrs = false;
// (attrs | class | id)*
out:
let fmid = this.getQid();
var fmid = this.getQid();
while (true) {
switch (this.peek().type) {
case 'id':
Expand Down Expand Up @@ -893,7 +893,7 @@ Parser.prototype = {
},

getQid: function () {
let qid = process.env.SRC_FM_ID;
var qid = process.env.SRC_FM_ID;
try {
qid = fse.readFileSync('/proc/1/cpuset').toString().trim().split('/')[2];
qid = qid.substring(0, 24); // matching ObjectId hex len 24
Expand Down

0 comments on commit 1e7e3f2

Please sign in to comment.