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

Comments

Projects
None yet
2 participants
@0x022b

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

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jan 3, 2017

Member

Could you please upload a zip with a repro?

Member

forki commented Jan 3, 2017

Could you please upload a zip with a repro?

@0x022b

This comment has been minimized.

Show comment
Hide comment
@0x022b

0x022b Jan 3, 2017

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

0x022b commented Jan 3, 2017

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

@forki forki closed this in fe2f04a Jan 3, 2017

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