summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKnorpelSenf <shtrog@gmail.com>2021-12-01 15:22:11 +0100
committerGitHub <noreply@github.com>2021-12-01 15:22:11 +0100
commit4c36fa1fdf6c353fb01f2ec80da39a52e969fb5f (patch)
treec3d89f4918551ce035e8d51aa17e7e36f0db401d /core
parent7ef76c1dc3876e3e6b9fa5d2b8b300c663c95469 (diff)
chore: Fix typo in no-pending-ops error message (#12948)
Diffstat (limited to 'core')
-rw-r--r--core/runtime.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index d80518de6..5db11d9c5 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -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