Skip to content

Strip whitespace from Pkg commands #1160

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

Merged
merged 1 commit into from
May 17, 2025
Merged

Strip whitespace from Pkg commands #1160

merged 1 commit into from
May 17, 2025

Conversation

JamesWrigley
Copy link
Collaborator

This avoids a parsing error in Pkg with ] add Foo, Bar.

Fixes #1095.

This avoids a parsing error in Pkg with `] add Foo, Bar`.
@JamesWrigley JamesWrigley self-assigned this May 17, 2025
Copy link

codecov bot commented May 17, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 9.90%. Comparing base (a8393a2) to head (b8ceda5).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/execute_request.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1160   +/-   ##
======================================
  Coverage    9.90%   9.90%           
======================================
  Files          15      15           
  Lines         848     848           
======================================
  Hits           84      84           
  Misses        764     764           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stevengj
Copy link
Member

Sounds good, though arguably Pkg parsing shouldn't be so brittle.

@JamesWrigley
Copy link
Collaborator Author

Yeah, I opened an issue for it here: JuliaLang/Pkg.jl#4239

@JamesWrigley JamesWrigley merged commit b340817 into master May 17, 2025
11 of 12 checks passed
@JamesWrigley JamesWrigley deleted the pkg-add branch May 17, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support parsing of comma separated packages in ] add
2 participants