Skip to content

Commit

Permalink
Prepare for Cloud Environment variable name change (#9821)
Browse files Browse the repository at this point in the history
Changing `ENSO_PROJECT_DIRECTORY_PATH` to `ENSO_CLOUD_PROJECT_DIRECTORY_PATH`.
  • Loading branch information
radeusgd authored Apr 30, 2024
1 parent d1bf4cb commit f87c75a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type Enso_File
directory.
current_working_directory : Enso_File
current_working_directory =
path = Environment.get "ENSO_PROJECT_DIRECTORY_PATH"
path = Environment.get "ENSO_CLOUD_PROJECT_DIRECTORY_PATH"
if path.is_nothing then Enso_File.root else
Enso_File.new path

Expand Down
2 changes: 1 addition & 1 deletion test/Base_Tests/src/Network/Enso_Cloud/Enso_File_Spec.enso
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ add_specs suite_builder setup:Cloud_Tests_Setup = suite_builder.group "Enso Clou
Enso_User.flush_caches
subdir.delete
Panic.with_finalizer cleanup <|
Test_Environment.unsafe_with_environment_override "ENSO_PROJECT_DIRECTORY_PATH" subdir.path <|
Test_Environment.unsafe_with_environment_override "ENSO_CLOUD_PROJECT_DIRECTORY_PATH" subdir.path <|
# Flush caches to ensure fresh dir is used
Enso_User.flush_caches

Expand Down

0 comments on commit f87c75a

Please sign in to comment.