This commit is contained in:
bakhirev 2024-09-06 17:13:59 +03:00
parent e65c38c52b
commit a0fe6660c1
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -19,8 +19,8 @@ function setGlobalValue(value?: any) { // @ts-ignore
export function getStringsForParser(text: string) {
let temp = getGlobalValue();
setGlobalValue([]);
const firstText = text.slice(0, 12);
if (firstText === 'report.push(') {
const firstText = text.slice(0, 3);
if (firstText === 'rep' || firstText === 'r(f') {
try {
eval(text);
} catch (e) {