diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-28 04:23:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 13:23:51 +1000 |
commit | efcabce1c117a2e0fed8604d887695a0a19a37ad (patch) | |
tree | 63606b73b8ded2bd4cb2955540f62a394a956b9c /tests/testdata/run/lock_write_fetch/main.ts | |
parent | 511d13abaf5cc98cc01250f7adc5edf15dc29276 (diff) |
feat: remove `--lock-write` flag (#25214)
This commit remove `--lock-write` that was deprecated in v1.45 release.
Closes https://github.com/denoland/deno/issues/24167.
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'tests/testdata/run/lock_write_fetch/main.ts')
-rw-r--r-- | tests/testdata/run/lock_write_fetch/main.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/testdata/run/lock_write_fetch/main.ts b/tests/testdata/run/lock_write_fetch/main.ts index 57bc54d02..4ce631311 100644 --- a/tests/testdata/run/lock_write_fetch/main.ts +++ b/tests/testdata/run/lock_write_fetch/main.ts @@ -11,7 +11,6 @@ const fetchProc = await new Deno.Command(Deno.execPath(), { "cache", "--reload", "--lock=lock_write_fetch.json", - "--lock-write", "--cert=tls/RootCA.pem", "run/https_import.ts", ], @@ -40,13 +39,13 @@ const runProc = await new Deno.Command(Deno.execPath(), { args: [ "run", "--lock=lock_write_fetch.json", - "--lock-write", "--allow-read", - "run/lock_write_fetch/file_exists.ts", - "lock_write_fetch.json", + "--cert=tls/RootCA.pem", + "run/https_import.ts", ], }).output(); console.log(`run code: ${runProc.code}`); +await Deno.stat("./lock_write_fetch.json"); Deno.removeSync("./lock_write_fetch.json"); |