1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-13 07:32:17 -05:00

remove unused code

This commit is contained in:
tangowithfoxtrot 2025-05-07 14:11:03 -07:00 committed by GitHub
parent 5fedad91a3
commit e2da4cc541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 17 deletions

View File

@ -310,12 +310,8 @@ public class Program
return true;
}
catch (Exception ex)
catch
{
// TODO: Remove exception message before main merge??
Console.WriteLine(
$"Unable to validate installation id. Problem contacting Bitwarden {cloudRegion.ToString()} server.\nError: {ex.Message}"
);
return false;
}
}

View File

@ -1,12 +0,0 @@
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
namespace Bit.Setup;
internal class SetupHostEnvironment : IHostEnvironment
{
public string ApplicationName { get; set; } = "Setup";
public IFileProvider ContentRootFileProvider { get; set; } = new NullFileProvider();
public string ContentRootPath { get; set; } = string.Empty;
public string EnvironmentName { get; set; } = "Production";
}