Skip to content
New issue

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

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

Already on GitHub? # to your account

refactor(cli): correct the line endings before publishing #1397

Merged

Conversation

mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Dec 25, 2021

Will most likely solve #967

Summary of changes:

Correcting the line endings before publishing, to prevent errors like the following when using pattern lab cli with yarn:

env: node\r: No such file or directory

This is mainly inspired by the comment of @theLine, who suggests to use dos2unix-cli and we'll try to do this before publishing.

If this doesn't work, we could still try to do this with a "postinstall" script.

if this doesn't work, we could try it on postinstall
@mfranzke
Copy link
Contributor Author

@JosefBredereck I've just resolved the merge conflicts.

@JosefBredereck JosefBredereck merged commit 2caac36 into pattern-lab:dev Jan 1, 2022
@mfranzke mfranzke deleted the refactor/fix-cli-yarn-usage branch January 1, 2022 17:01
@JosefBredereck
Copy link
Contributor

PR was released with v5.16.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants