mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
style: 自动格式化
This commit is contained in:
@@ -225,11 +225,7 @@ fn run_and_judge(
|
|||||||
for module in modules {
|
for module in modules {
|
||||||
// 按编译产物标志路由:TLA 模块走异步驱动(单次 drain 到静止、三态终结),
|
// 按编译产物标志路由:TLA 模块走异步驱动(单次 drain 到静止、三态终结),
|
||||||
// 非 TLA 模块走原同步路径零 diff。判据是编译标志而非测试元数据旗标。
|
// 非 TLA 模块走原同步路径零 diff。判据是编译标志而非测试元数据旗标。
|
||||||
let result = if module.is_async {
|
let result = if module.is_async { vm.run_tla(module) } else { vm.run(module) };
|
||||||
vm.run_tla(module)
|
|
||||||
} else {
|
|
||||||
vm.run(module)
|
|
||||||
};
|
|
||||||
match result {
|
match result {
|
||||||
Ok(v) => run_result = Ok(v),
|
Ok(v) => run_result = Ok(v),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user