From 1cefa831fd74b14121494045a347024502d74e34 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 1 Aug 2023 20:49:09 -0400 Subject: feat(unstable): optional `deno_modules` directory (#19977) Closes #15633 --- cli/npm/registry.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/npm') diff --git a/cli/npm/registry.rs b/cli/npm/registry.rs index eb0a2068a..585cbe163 100644 --- a/cli/npm/registry.rs +++ b/cli/npm/registry.rs @@ -311,7 +311,6 @@ impl CliNpmRegistryApiInner { ) -> Result<(), AnyError> { let file_cache_path = self.get_package_file_cache_path(name); let file_text = serde_json::to_string(&package_info)?; - std::fs::create_dir_all(file_cache_path.parent().unwrap())?; atomic_write_file(&file_cache_path, file_text, CACHE_PERM)?; Ok(()) } -- cgit v1.2.3