mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: Fix typo in no-pending-ops error message (#12948)
This commit is contained in:
parent
7ef76c1dc3
commit
4c36fa1fdf
4 changed files with 5 additions and 5 deletions
|
@ -2,4 +2,4 @@ Check [WILDCARD]/test/unresolved_promise.ts
|
|||
|
||||
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
||||
|
||||
error: Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promise.
|
||||
error: Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promises.
|
||||
|
|
|
@ -4,6 +4,6 @@ timeout loop 2
|
|||
timeout loop 3
|
||||
timeout loop 4
|
||||
timeout loop 5
|
||||
error: Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promise.
|
||||
error: Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promises.
|
||||
Pending dynamic modules:
|
||||
- [WILDCARD]/tla3/b.js
|
||||
|
|
|
@ -1 +1 @@
|
|||
error: Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promise.
|
||||
error: Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promises.
|
||||
|
|
|
@ -841,7 +841,7 @@ impl JsRuntime {
|
|||
{
|
||||
// pass, will be polled again
|
||||
} else {
|
||||
let msg = "Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promise.";
|
||||
let msg = "Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promises.";
|
||||
return Poll::Ready(Err(generic_error(msg)));
|
||||
}
|
||||
}
|
||||
|
@ -854,7 +854,7 @@ impl JsRuntime {
|
|||
{
|
||||
// pass, will be polled again
|
||||
} else if state.dyn_module_evaluate_idle_counter >= 1 {
|
||||
let mut msg = "Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promise.
|
||||
let mut msg = "Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promises.
|
||||
Pending dynamic modules:\n".to_string();
|
||||
for pending_evaluate in &state.pending_dyn_mod_evaluate {
|
||||
let module_info = module_map
|
||||
|
|
Loading…
Reference in a new issue