We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5094e1d commit caa768cCopy full SHA for caa768c
1 file changed
crates/vite_task/src/session/mod.rs
@@ -554,8 +554,9 @@ impl<'a> Session<'a> {
554
///
555
/// Returns an error if the cache database cannot be loaded or created.
556
pub fn cache(&self) -> anyhow::Result<&ExecutionCache> {
557
- self.cache
558
- .get_or_try_init(|| ExecutionCache::load_from_path(&self.cache_path, &self.program_name))
+ self.cache.get_or_try_init(|| {
+ ExecutionCache::load_from_path(&self.cache_path, &self.program_name)
559
+ })
560
}
561
562
pub fn workspace_path(&self) -> Arc<AbsolutePath> {
0 commit comments