Commit 4b2aa3d
vm,lib: refactor microtaskQueue assignment logic
Simplify the assignment of the `microtaskQueue` variable in the `vm`
module by replacing the conditional block with a more concise ternary
operator. This change improves code readability and maintainability.
PR-URL: #47765
Reviewed-By: theanarkh <theratliter@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 3460cf9 commit 4b2aa3dCopy full SHA for 4b2aa3d
File tree
Expand file treeCollapse file tree
1 file changed
+6
-8
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+6
-8
lines changedOpen diff view settings
Collapse file
+6-8Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
236 | 236 | |
237 | 237 | |
238 | 238 | |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
247 | 245 | |
248 | 246 | |
249 | 247 | |
|
0 commit comments