From 0bbfd6fb3dcae70c3cd727ef1cb45296f83c9680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 5 Jul 2024 03:38:12 +0100 Subject: feat: Deprecate --lock-write flag (#24436) This commit deprecates `--lock-write` flag by removing it from the help output and printing a warning message when it's used. Users should use `--frozen=false` instead which was added in https://github.com/denoland/deno/pull/24355. Towards https://github.com/denoland/deno/issues/24167. --- tests/testdata/lockfile/no_dts/main.cache.out | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/testdata/lockfile/no_dts/main.cache.out b/tests/testdata/lockfile/no_dts/main.cache.out index ee8ad33ab..84e728d66 100644 --- a/tests/testdata/lockfile/no_dts/main.cache.out +++ b/tests/testdata/lockfile/no_dts/main.cache.out @@ -1,2 +1,3 @@ +Warning "--lock-write" flag is deprecated and will be removed in Deno 2. Download http://localhost:4545/lockfile/no_dts/mod.js Download http://localhost:4545/lockfile/no_dts/mod.d.ts -- cgit v1.2.3