Skip to content

Commit b0e6bd2

Browse files
authored
Merge pull request #163 from gokhansengun/master
Remove confirmation for exit with no verification
2 parents 6d7c47e + 0d81431 commit b0e6bd2

File tree

1 file changed

+5
-2
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void Main(string[] args)
2929
migrateExecuter.Object.Run(_skipConnVerification);
3030
}
3131

32-
Console.WriteLine("Press ENTER to exit...");
33-
Console.ReadLine();
32+
if (!_skipConnVerification)
33+
{
34+
Console.WriteLine("Press ENTER to exit...");
35+
Console.ReadLine();
36+
}
3437
}
3538
}
3639

0 commit comments

Comments
 (0)