This commit is contained in:
sanjayk03-dev
2023-12-30 11:37:31 +05:30
parent 129c27881a
commit 0bf3d936d4
6 changed files with 32 additions and 18 deletions

View File

@@ -203,12 +203,13 @@ module.exports = {
return Math.min(1, p);
},
isMacrosPresent: function(){
if(this.config.macros!=undefined){
console.log("isMacrosPresent",this.config.macros!=undefined);
console.log(this.config.macros.length!=0);
return this.config.macros.length!=0;
}
return false;
return (this.config.macros!=undefined)
// if(this.config.macros!=undefined){
// console.log("isMacrosPresent",this.config.macros!=undefined);
// console.log(this.config.macros.length!=0);
// return this.config.macros.length!=0;
// }
// return false;
}
},