mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-06-20 10:48:15 +08:00
refactor: ♻️ 取消插入种子数据后退出程序 (#191)
This commit is contained in:
@ -37,10 +37,6 @@ public sealed class SqlProfiler(ILogger<SqlProfiler> logger) : IEventSubscriber
|
||||
{
|
||||
var source = context.Source as SeedDataInsertedEvent;
|
||||
logger.Info(source);
|
||||
if (App.WebHostEnvironment.IsDevelopment()) {
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user