diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-11-25 19:04:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 00:04:30 +0000 |
commit | 0c0af67f89b610eb61e4f66a5dbf665474aa9383 (patch) | |
tree | b2da2181d6ce10395da176ca8ac352345fc65fca /cli/worker.rs | |
parent | e0dd275935c49f5b5b844123d621c5dea1761983 (diff) |
refactor: `DenoDir` - move to cache folder and make `root_dir` private (#16823)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index d06864634..fb021b614 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -483,9 +483,7 @@ async fn create_main_worker_internal( let maybe_storage_key = ps.options.resolve_storage_key(&main_module); let origin_storage_dir = maybe_storage_key.as_ref().map(|key| { ps.dir - .root - // TODO(@crowlKats): change to origin_data for 2.0 - .join("location_data") + .origin_data_folder_path() .join(checksum::gen(&[key.as_bytes()])) }); let cache_storage_dir = maybe_storage_key.map(|key| { |