1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00
denoland-deno/cli/tests
Leigh McCulloch 4a8b873111
fix(init): skip existing files instead of erroring (#20434)
### What
Skip writing files from the template if the files already exist in the
project directory.

### Why
When I run deno init in a directory that already has a main.ts, or one
of the other template files, I usually want to initialize a workspace
around a file I've started working in. A hard error in this case seems
counter productive. An informational message about what's being skipped
seems sufficient.

Close #20433
2023-09-12 12:55:26 +02:00
..
integration fix(init): skip existing files instead of erroring (#20434) 2023-09-12 12:55:26 +02:00
node_compat chore: disable 'test-http-content-length.js` test (#20344) 2023-09-04 23:23:01 +02:00
testdata fix: exclude internal JS files from coverage (#20448) 2023-09-11 13:53:42 +00:00
unit fix(ext/http): create a graceful shutdown API (#20387) 2023-09-12 00:06:38 +00:00
unit_node fix(ext/node/ops/zlib/brotli): Allow decompressing more than 4096 bytes (#20301) 2023-09-08 09:11:33 +05:30
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00