Skip to content

Commit c414490

Browse files
Removed _skipConnVerification
1 parent ce2f5ae commit c414490

File tree

1 file changed

+4
-8
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator

1 file changed

+4
-8
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator/Program.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ namespace AbpCompanyName.AbpProjectName.Migrator
99
{
1010
public class Program
1111
{
12-
private static bool _skipConnVerification = false;
13-
private static bool _runInQuietMode = false;
12+
private static bool _quietMode = false;
1413

1514
public static void Main(string[] args)
1615
{
@@ -27,10 +26,10 @@ public static void Main(string[] args)
2726

2827
using (var migrateExecuter = bootstrapper.IocManager.ResolveAsDisposable<MultiTenantMigrateExecuter>())
2928
{
30-
migrateExecuter.Object.Run(_skipConnVerification);
29+
migrateExecuter.Object.Run(_quietMode);
3130
}
3231

33-
if (!_runInQuietMode)
32+
if (!_quietMode)
3433
{
3534
Console.WriteLine("Press ENTER to exit...");
3635
Console.ReadLine();
@@ -49,11 +48,8 @@ private static void ParseArgs(string[] args)
4948
{
5049
switch (arg)
5150
{
52-
case "-s":
53-
_skipConnVerification = true;
54-
break;
5551
case "-q":
56-
_runInQuietMode = true;
52+
_quietMode = true;
5753
break;
5854
}
5955
}

0 commit comments

Comments
 (0)