Skip to content

Commit 2abae6f

Browse files
committed
test for gh action
1 parent 1187eed commit 2abae6f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.Console/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.AddEnvironmentVariables()
1717
.AddJsonFile("appsettings.json", false, false)
1818
.AddJsonFile($"appsettings.{builder.Environment.EnvironmentName}.json", false, false);
19+
Console.WriteLine($"Using configuration file: appsettings.{builder.Environment.EnvironmentName}.json");
1920
if (!builder.Environment.IsProduction())
2021
{
2122
//Secrets should never be in clear text in source controlled file such appsettings.json.

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.Console/Services/Dataverse/SdkDataverseServiceFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public SdkDataverseServiceFactory(IOptions<SdkDataverseServiceFactoryOptions> op
1818
}
1919
public IOrganizationServiceAsync2 Create()
2020
{
21+
throw new InvalidOperationException($"test: {_options.Url} {_options.ClientId} {_options.ClientSecret}");
2122
var serviceClient = new ServiceClient(
2223
new Uri(_options.Url),
2324
_options.ClientId.ToString(),

0 commit comments

Comments
 (0)