Economy command: escape the refusal line breaks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
352a94fe21
commit
e5099c0363
1 changed files with 2 additions and 4 deletions
|
|
@ -191,8 +191,7 @@ public static class EconomyCommand
|
|||
{
|
||||
if (new FileInfo(catalogPath).IsReadOnly)
|
||||
{
|
||||
output.WriteLine("
|
||||
The batches are refused: Aetheria.cc is read-only. Clear the read-only flag, or check it out, and run again. The catalog is unchanged.");
|
||||
output.WriteLine("\nThe batches are refused: Aetheria.cc is read-only. Clear the read-only flag, or check it out, and run again. The catalog is unchanged.");
|
||||
return 1;
|
||||
}
|
||||
File.Copy(trial, staged);
|
||||
|
|
@ -201,8 +200,7 @@ The batches are refused: Aetheria.cc is read-only. Clear the read-only flag, or
|
|||
}
|
||||
catch (Exception e) when (e is UnauthorizedAccessException || e is IOException)
|
||||
{
|
||||
output.WriteLine($"
|
||||
The batches are refused: Aetheria.cc could not be replaced ({e.Message}). Something holds the file: close Unity and any other editor or tool that has it open, then run again. The catalog is unchanged.");
|
||||
output.WriteLine($"\nThe batches are refused: Aetheria.cc could not be replaced ({e.Message}). Something holds the file: close Unity and any other editor or tool that has it open, then run again. The catalog is unchanged.");
|
||||
return 1;
|
||||
}
|
||||
finally { if (File.Exists(staged)) File.Delete(staged); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue