summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
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| {