You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the baseConfigFilePath contains directory info, we need to ensure that it is not lost. for example: baseConfigFilePath = "config/dab-config.json"
183
+
// in this case, we need to get the directory name and the file name without extension and then combine them back. Else, we will lose the path
184
+
// and the file will be searched in the current directory.
[DataRow("my-config.json","",false,null,"my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is not set")]
2034
+
[DataRow("test-configs/my-config.json","",false,null,"test-configs/my-config.json",DisplayName="Config file in different directory provided by user and environment variable is not set")]
2035
+
[DataRow("my-config.json","Test",false,"my-config.Test.json","my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is set")]
2036
+
[DataRow("test-configs/my-config.json","Test",false,"test-configs/my-config.Test.json","test-configs/my-config.json",DisplayName="Config file in different directory provided by user and environment variable is set")]
2037
+
[DataRow("my-config.json","Test",false,"dab-config.Test.json","my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is set and environment file is present")]
2038
+
[DataRow("test-configs/my-config.json","Test",false,"test-configs/dab-config.Test.json","test-configs/my-config.json",DisplayName="Config file in different directory provided by user and environment variable is set and environment file is present")]
2039
+
[DataRow("my-config.json","",true,null,"my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is not set and absolute path is provided")]
2040
+
[DataRow("test-configs/my-config.json","",true,null,"test-configs/my-config.json",DisplayName="Config file in different directory provided by user and environment variable is not set and absolute path is provided")]
2041
+
[DataRow("my-config.json","Test",true,"my-config.Test.json","my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is set and absolute path is provided")]
2042
+
[DataRow("test-configs/my-config.json","Test",true,"test-configs/my-config.Test.json","test-configs/my-config.json",DisplayName="Config file in different directory provided by user and environment variable is set and absolute path is provided")]
2043
+
[DataRow("my-config.json","Test",true,"dab-config.Test.json","my-config.json",DisplayName="Config file in the current directory provided by user and environment variable is set and environment file is present and absolute path is provided")]
2044
+
[DataRow("test-configs/my-config.json","Test",true,"test-configs/dab-config.Test.json","test-configs/my-config.json",DisplayName="Config file in the different directory provided by user and environment variable is set and environment file is present and absolute path is provided")]
2045
+
[DataRow(null,"",false,null,"dab-config.json",DisplayName="Config file not provided by user and environment variable is not set")]
2046
+
[DataRow(null,"Test",false,"dab-config.Test.json","dab-config.json",DisplayName="Config file not provided by user and environment variable is set and environment file is present")]
2047
+
[DataRow(null,"Test",false,null,"dab-config.json",DisplayName="Config file not provided by user and environment variable is set and environment file is not present")]
0 commit comments