Skip to content

Template with multiparagraph description isn't working with LF line endings #2104

Description

@0x022b

Description

When a paket.template with multiparagraph description is saved with Unix line endings paket pack command fails with the following error message:

Paket failed with:
	Unable to parse template file C:\Work\PaketRepro\ConsoleApplication1\paket.template: Indented block with no name line 7.

Repro steps

  1. Create a template with multiparagraph description and save the file with LF line endings.

  2. Run paket pack output dist command.

Expected behavior

I would expect the command to execute without errors like it does if the description has only one paragraph and LF line endings.

Actual behavior

The command fails with the error message described above.

Known workarounds

Save the template with Windows line endings (CRLF).

Activity

  1. forki commented on Jan 3, 2017

    @forki
    Member

    Could you please upload a zip with a repro?

  2. 0x022b commented on Jan 3, 2017

    @0x022b
    Author

    Can be reproduced with issue#2104 branch in scoobadog/PaketRepro repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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