fix(test): align order dependency fault preflight with Nacos v3

This commit is contained in:
2026-10-03 06:21:57 +08:00
parent bde1cd532e
commit c55bd7f4b6
4 changed files with 57 additions and 14 deletions
@@ -248,4 +248,4 @@ async function main(argv) {
if(!result.success)process.exitCode=1
}
if(process.argv[1] && import.meta.url===pathToFileURL(resolve(process.argv[1])).href)main(process.argv.slice(2)).catch(()=>{console.error('ORDER_DEPENDENCY_ARGUMENT_OR_CONFIGURATION_ERROR');process.exitCode=1})
if(process.argv[1] && import.meta.url===pathToFileURL(resolve(process.argv[1])).href)main(process.argv.slice(2)).catch(error=>{console.error(/^[A-Z_0-9]{1,90}$/.test(error.message)?error.message:'ORDER_DEPENDENCY_ARGUMENT_OR_CONFIGURATION_ERROR');process.exitCode=1})