Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
0x022b opened this issue Jan 3, 2017 · 2 comments
Closed

Comments

@0x022b
Copy link

0x022b commented Jan 3, 2017

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

@forki
Copy link
Member

forki commented Jan 3, 2017

Could you please upload a zip with a repro?

@0x022b
Copy link
Author

0x022b commented Jan 3, 2017

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

@forki forki closed this as completed in fe2f04a Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants