mirror of
https://gitee.com/BDWare/common
synced 2025-01-25 01:04:16 +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", "");
|
||||
}
|
||||
if (isView) {
|
||||
plainText = plainText.replaceFirst("\\)\\s?view\\s?\\{", "){");
|
||||
plainText = plainText.replaceFirst("\\)\\s*view\\s*\\{", "){");
|
||||
}
|
||||
this.plainText = plainText;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user