mirror of
https://gitee.com/BDWare/common
synced 2025-01-26 01:34:14 +00:00
feat: update Script
update Script.initTextWithCleaning to remove keyword 'view' before compiling
This commit is contained in:
parent
1ed4dfd496
commit
9b1ca64af9
@ -42,7 +42,7 @@ public class Script {
|
|||||||
plainText = plainText.replaceFirst("exported", "");
|
plainText = plainText.replaceFirst("exported", "");
|
||||||
}
|
}
|
||||||
if (isView) {
|
if (isView) {
|
||||||
plainText = plainText.replaceFirst("\\)\\s?view\\s?\\{", "){");
|
plainText = plainText.replaceFirst("\\)\\s*view\\s*\\{", "){");
|
||||||
}
|
}
|
||||||
this.plainText = plainText;
|
this.plainText = plainText;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user