summaryrefslogtreecommitdiff
path: root/cli/cache/parsed_source.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-30 16:22:17 +0100
committerGitHub <noreply@github.com>2023-01-30 16:22:17 +0100
commitd318e38b76c8174d48fddfb99064401050cd8333 (patch)
treebd49caad1dcc6507280b8ebf4b7f68e2ff9c5c78 /cli/cache/parsed_source.rs
parent3035dee9f14402f57d42ff0b362152140b4dca13 (diff)
Revert "fix(watch): preserve `ProcState::file_fetcher` between restarts (#15466) (#17591)
This reverts commit 3545bff678f20c3fdf17fe6b26f96cf1b74f917c.
Diffstat (limited to 'cli/cache/parsed_source.rs')
-rw-r--r--cli/cache/parsed_source.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/cache/parsed_source.rs b/cli/cache/parsed_source.rs
index 6385e7384..30eecf702 100644
--- a/cli/cache/parsed_source.rs
+++ b/cli/cache/parsed_source.rs
@@ -67,14 +67,6 @@ impl ParsedSourceCache {
}
}
- pub fn reset_for_file_watcher(&self) -> Self {
- Self {
- db_cache_path: self.db_cache_path.clone(),
- cli_version: self.cli_version.clone(),
- sources: Default::default(),
- }
- }
-
pub fn get_parsed_source_from_module(
&self,
module: &deno_graph::Module,