Paket icon indicating copy to clipboard operation
Paket copied to clipboard

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

Open 0x022b opened this issue 9 years ago • 2 comments

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).

0x022b avatar Jan 03 '17 07:01 0x022b

Could you please upload a zip with a repro?

forki avatar Jan 03 '17 07:01 forki

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

0x022b avatar Jan 03 '17 07:01 0x022b