fix: pretteir format uncheck.
This commit is contained in:
parent
8a28a7f00d
commit
150c503ca1
|
@ -724,7 +724,7 @@ export class LibInit {
|
||||||
let k = 0;
|
let k = 0;
|
||||||
let result;
|
let result;
|
||||||
//去除99个step的限制
|
//去除99个step的限制
|
||||||
while ((result = str.slice(skip).match(new RegExp(`['"]step ${k}['"]`))) != null) {
|
while ((result = str.slice(skip).match(new RegExp(`\\(?['"]step ${k}['"]\\)?;?`))) != null) {
|
||||||
let insertStr;
|
let insertStr;
|
||||||
if (k == 0) {
|
if (k == 0) {
|
||||||
insertStr = `switch(step){case 0:`;
|
insertStr = `switch(step){case 0:`;
|
||||||
|
|
Loading…
Reference in New Issue