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(core): remove workaround for broken dotnet format builtin #443

Merged
merged 1 commit into from
May 20, 2022

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented May 20, 2022

Current Behavior

Nx .NET always runs dotnet-format via the tool, since the included version of the tool is broken.

When running dotnet-format as a tool, the command is formatted like:

dotnet tool run dotnet-format --verbosity minimal

This is causing failures in .NET SDK 6.0.300

Expected Behavior

Nx .NET takes advantage of the builtin since it is no longer broken.

When running dotnet-format as a tool, the command is formatted like:

dotnet tool run dotnet-format -- --verbosity minimal

The output of dotnet tool run --help shows the extra --'s before too, so this should work on older sdk versions as well as 6.0.300

Related Issues

Fixes #435

@nx-cloud
Copy link

nx-cloud bot commented May 20, 2022

@sonarcloud
Copy link

sonarcloud bot commented May 20, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@AgentEnder AgentEnder merged commit e0f04eb into master May 20, 2022
@AgentEnder AgentEnder deleted the fix/dotnet-format-fixed branch May 20, 2022 14:16
github-actions bot pushed a commit that referenced this pull request May 20, 2022
## [1.10.1](v1.10.0...v1.10.1) (2022-05-20)

### Bug Fixes

* **core:** remove workaround for broken dotnet format builtin ([#443](#443)) ([e0f04eb](e0f04eb))

May 20, 2022, 3:11 PM
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Can't use executor @nx-dotnet/core:format
1 participant