fix: try get value
Signed-off-by: Polianin Nikita <wesser@noreply.git.winsomnia.net>
This commit is contained in:
parent
7e82d4a520
commit
2f7c77e764
@ -61,6 +61,7 @@ public static class EnvironmentConfiguration
|
|||||||
result.AddInMemoryCollection(LoadEnvironment(".env.develop")!);
|
result.AddInMemoryCollection(LoadEnvironment(".env.develop")!);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (variablesFromFile.TryGetValue("PATH_TO_SAVE", out var data))
|
||||||
Environment.SetEnvironmentVariable("PATH_TO_SAVE", variablesFromFile["PATH_TO_SAVE"]);
|
Environment.SetEnvironmentVariable("PATH_TO_SAVE", variablesFromFile["PATH_TO_SAVE"]);
|
||||||
|
|
||||||
return result.Build();
|
return result.Build();
|
||||||
|
Loading…
Reference in New Issue
Block a user