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

fix(task): handle multiline descriptions properly #27069

Merged

Conversation

bartlomieju
Copy link
Member

Closes #27049

Unverified

No user is associated with the committer email.
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

" {slash_slash} {}",
colors::italic_gray(description)
)?;
for line in description.split('\n') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if someone does "\r\n" lol (I'm half kidding)

@bartlomieju bartlomieju merged commit d4fe331 into denoland:main Nov 26, 2024
17 checks passed
@dsherret
Copy link
Member

Automerge does it again.

@bartlomieju bartlomieju deleted the deno_task_description_multiline branch November 27, 2024 00:29
bartlomieju added a commit that referenced this pull request Nov 27, 2024

Unverified

No user is associated with the committer email.
bartlomieju added a commit that referenced this pull request Nov 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Closes #27049
bartlomieju added a commit that referenced this pull request Nov 28, 2024

Unverified

No user is associated with the committer email.
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

Successfully merging this pull request may close these issues.

deno task: description with \n should preserve indent
2 participants