diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-04-01 21:20:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 16:20:16 -0400 |
commit | e5588d2f1eb84947c8691fffbcf719a73557a3f5 (patch) | |
tree | 2fde86d5178a7670dbf620e854d3f5f7accc150d /cli/js | |
parent | 0210c1cadf305170aa1aa7325ff6f50d78c9f5dc (diff) |
fix(test): don't swallow sanitizer errors with permissions (#18550)
Missing `return` from #18246.
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_testing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 74fbb8da3..babbec8c2 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -481,7 +481,7 @@ function withPermissions(fn, permissions) { const token = pledgePermissions(permissions); try { - await fn(...new SafeArrayIterator(params)); + return await fn(...new SafeArrayIterator(params)); } finally { restorePermissions(token); } |