From 04a9cc95ac1349ab192c93c231c1ac97ee02fb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 9 Sep 2024 21:51:55 +0100 Subject: feat: Add better error messages for unstable APIs (#25519) This commit improves error messages for unstable APIs: - `--unstable-broadcast-channel` - `--unstable-cron` - `--unstable-http` - `--unstable-kv` - `--unstable-temporal` By providing information and hints what went wrong and how the error can be fixed. It reuses the same infra that was added in https://github.com/denoland/deno/pull/21764. --- tools/lint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lint.js') diff --git a/tools/lint.js b/tools/lint.js index e692110fa..74b2c28d3 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -220,7 +220,7 @@ async function ensureNoNewITests() { "pm_tests.rs": 0, "publish_tests.rs": 0, "repl_tests.rs": 0, - "run_tests.rs": 348, + "run_tests.rs": 347, "shared_library_tests.rs": 0, "task_tests.rs": 30, "test_tests.rs": 74, -- cgit v1.2.3