mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Minor fix for help text, fix two compiler warnings
This commit is contained in:
@@ -1180,7 +1180,7 @@ namespace Mono.Options
|
||||
|
||||
Category c = p as Category;
|
||||
if (c != null) {
|
||||
WriteDescription (o, p.Description, "", 80, 80);
|
||||
WriteDescription (o, p.Description, "", LineWidth, LineWidth);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ namespace Squirrel
|
||||
var runningProcesses = UnsafeUtility.EnumerateProcesses();
|
||||
|
||||
// Finally, clean up the app-X.Y.Z directories
|
||||
await toCleanup.ForEachAsync(async x => {
|
||||
await toCleanup.ForEachAsync(x => {
|
||||
try {
|
||||
if (runningProcesses.All(p => p.Item1 == null || !p.Item1.StartsWith(x.FullName, StringComparison.OrdinalIgnoreCase))) {
|
||||
Utility.DeleteFileOrDirectoryHardOrGiveUp(x.FullName);
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace Squirrel.Tests.Core
|
||||
|
||||
var sw = new Stopwatch();
|
||||
sw.Start();
|
||||
Utility.DeleteDirectory(tempDir).Wait();
|
||||
Utility.DeleteFileOrDirectoryHard(tempDir);
|
||||
sw.Stop();
|
||||
this.Log().Info("Delete took {0}ms", sw.ElapsedMilliseconds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user