Skip to content

Commit 6659e88

Browse files
committed
Merge branch 'master' into f_vault4
2 parents c85ef29 + f4cf648 commit 6659e88

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/SecureFolderFS.Tests/CliTests/CliTestHost.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ private static IServiceProvider BuildServiceProvider(string settingsPath)
9999
return serviceProvider;
100100
}
101101

102-
private static CliApplication BuildApplication(IServiceProvider services)
102+
private static CommandLineApplication BuildApplication(IServiceProvider services)
103103
{
104-
return new CliApplicationBuilder()
105-
.AddCommand<CredsAddCommand>()
106-
.AddCommand<CredsChangeCommand>()
107-
.AddCommand<CredsRemoveCommand>()
108-
.AddCommand<VaultCreateCommand>()
109-
.AddCommand<VaultInfoCommand>()
110-
.AddCommand<VaultMountCommand>()
111-
.AddCommand<VaultRunCommand>()
112-
.AddCommand<VaultShellCommand>()
113-
.AddCommand<VaultUnmountCommand>()
114-
.UseTypeActivator(type => ActivatorUtilities.CreateInstance(services, type))
104+
return new CommandLineApplicationBuilder()
105+
.AddCommand(CredsAddCommand.Descriptor)
106+
.AddCommand(CredsChangeCommand.Descriptor)
107+
.AddCommand(CredsRemoveCommand.Descriptor)
108+
.AddCommand(VaultCreateCommand.Descriptor)
109+
.AddCommand(VaultInfoCommand.Descriptor)
110+
.AddCommand(VaultMountCommand.Descriptor)
111+
.AddCommand(VaultRunCommand.Descriptor)
112+
.AddCommand(VaultShellCommand.Descriptor)
113+
.AddCommand(VaultUnmountCommand.Descriptor)
114+
.UseTypeInstantiator(type => ActivatorUtilities.CreateInstance(services, type))
115115
.Build();
116116
}
117117
}

0 commit comments

Comments
 (0)