chore: update insert_final_newline setting
All checks were successful
default / dotnet-default-workflow (pull_request) Successful in 1m11s
default / dotnet-default-workflow (push) Successful in 1m10s

This commit is contained in:
Louis Seubert 2026-05-16 12:25:38 +02:00
commit a6f1140b1f
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
42 changed files with 42 additions and 42 deletions

View file

@ -5,7 +5,7 @@ indent_style = tab
indent_size = 4
tab_width = 4
end_of_line = lf
insert_final_newline = false
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120

View file

@ -22,4 +22,4 @@ internal sealed class Output : IDisposable
Stderr.Dispose();
Stdin.Dispose();
}
}
}

View file

@ -23,4 +23,4 @@ internal static class OutputTargetExtensions
yield return output.Stderr;
}
}
}
}

View file

@ -49,4 +49,4 @@ public static class Program
cts.Cancel();
}
}
}
}

View file

@ -28,4 +28,4 @@ internal sealed class EchoCommand : Command
return 0;
}
}
}

View file

@ -43,4 +43,4 @@ internal sealed class EchoStdinCommand : Command
return 0;
}
}
}

View file

@ -31,4 +31,4 @@ internal sealed class EnvironmentCommand : Command
return 0;
}
}
}

View file

@ -20,4 +20,4 @@ internal sealed class ExitCommand : Command
await output.Stderr.WriteLineAsync($"Exit code set to {code}");
return code;
}
}
}

View file

@ -43,4 +43,4 @@ internal sealed class GenerateBlobCommand : Command
return 0;
}
}
}

View file

@ -44,4 +44,4 @@ internal sealed class GenerateClobCommand : Command
return 0;
}
}
}

View file

@ -42,4 +42,4 @@ internal sealed class LengthCommand : Command
return 0;
}
}
}

View file

@ -34,4 +34,4 @@ internal sealed class SleepCommand : Command
await output.Stdout.FlushAsync(CancellationToken.None);
return 0;
}
}
}

View file

@ -24,4 +24,4 @@ internal sealed class WorkingDirectoryCommand : Command
return 0;
}
}
}

View file

@ -178,4 +178,4 @@ internal sealed class CancellationTests
await Assert.That(stdout.ToString()).Contains("Done.");
}
}
}
}

View file

@ -270,4 +270,4 @@ internal sealed class CommandTests
await Assert.That(cmd.StandardErrorPipe).IsNotEqualTo(pipeTarget);
}
}
}
}

View file

@ -136,4 +136,4 @@ internal sealed class ExecuteTests
await Assert.That(lines).Contains("keep");
await Assert.That(lines).Contains("overwritten");
}
}
}

View file

@ -78,4 +78,4 @@ internal sealed class LineBreakTests
// Assert
await Assert.That(stdOutLines).IsEquivalentTo(["Foo", "", "Bar", "", "Baz"]);
}
}
}

View file

@ -47,4 +47,4 @@ internal sealed class PathResolutionTests
await Assert.That(result.StandardOutput.Trim()).IsEqualTo("hi");
}
}
}
}

View file

@ -533,4 +533,4 @@ internal sealed class PipingTests
await Assert.That(stream3.ToArray()).IsEquivalentTo(stream4.ToArray());
}
}
}
}

View file

@ -55,4 +55,4 @@ internal sealed class ValidationTests
await Assert.That(result.IsSuccess).IsFalse();
}
}
}
}

View file

@ -32,4 +32,4 @@ internal sealed class PlatformAttribute : SkipAttribute
{
return Task.FromResult(!_os.Any(OperatingSystem.IsOSPlatform));
}
}
}

View file

@ -18,4 +18,4 @@ internal static class ProcessTree
return true;
}
}
}
}

View file

@ -29,4 +29,4 @@ internal sealed class TestEnvironment : IDisposable
{
_action();
}
}
}

View file

@ -31,4 +31,4 @@ internal sealed class TestTempDirectory : IDisposable
}
catch (DirectoryNotFoundException) { }
}
}
}

View file

@ -150,4 +150,4 @@ public partial class ArgumentsBuilder
return buffer.ToString();
}
}
}

View file

@ -88,4 +88,4 @@ public static class BufferedCommandExtensions
return command.ExecuteBufferedAsync(Console.OutputEncoding, cancellationToken);
}
}
}
}

View file

@ -48,4 +48,4 @@ public partial class BufferedCommandResult
{
return result.StandardOutput;
}
}
}

View file

@ -126,4 +126,4 @@ public sealed partial class Command
return new Command(TargetFilePath, Arguments, WorkingDirPath, Environment, Validation,
StandardInputPipe, StandardOutputPipe, target);
}
}
}

View file

@ -228,4 +228,4 @@ public sealed partial class Command
}
}
}
}
}

View file

@ -196,4 +196,4 @@ public sealed partial class Command
{
return PipeSource.FromCommand(source) | target;
}
}
}

View file

@ -81,4 +81,4 @@ public sealed partial class Command
{
return $"{TargetFilePath} {Arguments}";
}
}
}

View file

@ -27,4 +27,4 @@ public class CommandExecutionException : Exception
/// Exit code returned by the process.
/// </summary>
public int ExitCode { get; }
}
}

View file

@ -61,4 +61,4 @@ public partial class CommandResult
{
return result.IsSuccess;
}
}
}

View file

@ -91,4 +91,4 @@ public sealed partial class CommandTask<TResult>
{
return commandTask.Task;
}
}
}

View file

@ -47,4 +47,4 @@ public sealed class EnvironmentVariablesBuilder
{
return new Dictionary<string, string?>(_vars, _vars.Comparer);
}
}
}

View file

@ -131,4 +131,4 @@ internal sealed class MemoryBufferStream : Stream
{
throw new NotSupportedException();
}
}
}

View file

@ -121,4 +121,4 @@ public abstract partial class PipeSource
return Create(async (destination, cancellationToken) =>
await command.WithStandardOutputPipe(PipeTarget.ToStream(destination)).ExecuteAsync(cancellationToken));
}
}
}

View file

@ -311,4 +311,4 @@ public partial class PipeTarget
}
}
}
}
}

View file

@ -43,4 +43,4 @@ internal sealed partial class Process
SIGALRM = 14,
SIGTERM = 15,
}
}
}

View file

@ -30,4 +30,4 @@ internal sealed partial class Process
CTRL_LOGOFF_EVENT = 5, // SIGHUP
CTRL_SHUTDOWN_EVENT = 6, // SIGTERM
}
}
}

View file

@ -178,4 +178,4 @@ internal sealed partial class Process : IDisposable
{
_process.Dispose();
}
}
}

View file

@ -18,4 +18,4 @@ public enum ValidationMode
/// Ensure that the command returned a zero exit code.
/// </summary>
ZeroExitCode = 0b1,
}
}