fix: 识别到"地脉之花"时,终止函数的执行
This commit is contained in:
@@ -813,6 +813,7 @@ async function processLeyLineOutcrop(timeout, targetPath, retries = 0) {
|
|||||||
try {
|
try {
|
||||||
await pathingScript.runFile(targetPath);
|
await pathingScript.runFile(targetPath);
|
||||||
await processLeyLineOutcrop(timeout, targetPath, retries + 1);
|
await processLeyLineOutcrop(timeout, targetPath, retries + 1);
|
||||||
|
return;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(`未识别到地脉花: ${error.message}`);
|
throw new Error(`未识别到地脉花: ${error.message}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user