dirty hack to fix some wrongful caching
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -28,7 +28,7 @@ const number = /** @param {InputUtil} util */ (util) => {
|
||||
const NUM = util.fieldValueUnsafe('NUM');
|
||||
const number = Number(NUM);
|
||||
if (!Number.isNaN(number)) {
|
||||
return util.number(number);
|
||||
return util.number('' + number);
|
||||
}
|
||||
return util.fieldString('NUM');
|
||||
};
|
||||
|
||||
@@ -428,7 +428,7 @@ class Thread {
|
||||
tryCompile(cache) {
|
||||
let result;
|
||||
|
||||
const topBlock = this.topBlock;
|
||||
const topBlock = this.target.id + '|' + this.topBlock;
|
||||
if (cache.hasEntry(topBlock)) {
|
||||
if (cache.isCachedAsError(topBlock)) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user