Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1308

PDK should write files with trailing newlines

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.10.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      • PDK written non-template files (like metadata.json) should have a trailing newline
    • Team:
      Puppet Developer Experience
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      PDK will now include a trailing newline character at the end of all generated files.
    • QA Risk Assessment:
      Needs Assessment

      Description

      When PDK generates a file not from a template (like metadata.json) it should ensure there is a trailing newline at the end of the file.

      See also: https://github.com/puppetlabs/pdk/issues/636

       

        Attachments

          Activity

            People

            • Assignee:
              jesse Jesse Scott
              Reporter:
              jesse Jesse Scott
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support