summaryrefslogtreecommitdiff
path: root/cli/tools/fmt.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-08-06 21:56:56 -0400
committerGitHub <noreply@github.com>2023-08-06 21:56:56 -0400
commitb9b03869489213fa9b24d7416afe9e3e27c81ce7 (patch)
tree7727f2906b0864b1242c9d8030ca6416ee053409 /cli/tools/fmt.rs
parent7b5bc87f296d39e531051e1c0bb6cafa3808ab92 (diff)
feat(unstable): rename `deno_modules` to `vendor` (#20065)
Renames the unstable `deno_modules` directory and corresponding settings to `vendor` after feedback. Also causes the vendoring of the `node_modules` directory which can be disabled via `--node-modules-dir=false` or `"nodeModulesDir": false`.
Diffstat (limited to 'cli/tools/fmt.rs')
-rw-r--r--cli/tools/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs
index e7fdf24f7..fc1df3281 100644
--- a/cli/tools/fmt.rs
+++ b/cli/tools/fmt.rs
@@ -151,7 +151,7 @@ fn collect_fmt_files(files: &FilesConfig) -> Result<Vec<PathBuf>, AnyError> {
FileCollector::new(is_supported_ext_fmt)
.ignore_git_folder()
.ignore_node_modules()
- .ignore_deno_modules()
+ .ignore_vendor_folder()
.add_ignore_paths(&files.exclude)
.collect_files(&files.include)
}