Skip to content

Generated output (documentation, shell completion scripts, etc.) sometimes contain suboptimal whitespace #786

Open
@rgoldberg

Description

@rgoldberg

Generated output (documentation, shell completion scripts, etc.) sometimes contain suboptimal whitespace

ArgumentParser version: main
Swift version:

swift-driver version: 1.120.5 Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
Target: arm64-apple-macosx15.0

Checklist

  • If possible, I've reproduced the issue using the main branch of this package
  • I've searched for existing GitHub issues

Steps to Reproduce

Search test comparison files in the various Snapshots folders to find trailing spaces, or multiple or no newlines at the end of the file.

Once fixed, the new .editorconfigs in the Snapshot folders can be removed.

Expected behavior

No trailing spaces. One single newline at the end of every file.

Actual behavior

Sometimes: trailing spaces, multiple newlines at the end of a file, or no newlines at the end of a file.

@rauhul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions