Skip to content

fix(core): remove workaround for broken dotnet format builtin#443

Merged
AgentEnder merged 1 commit intomasterfrom
fix/dotnet-format-fixed
May 20, 2022
Merged

fix(core): remove workaround for broken dotnet format builtin#443
AgentEnder merged 1 commit intomasterfrom
fix/dotnet-format-fixed

Conversation

@AgentEnder
Copy link
Copy Markdown
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
Copy Markdown

nx-cloud bot commented May 20, 2022

@AgentEnder AgentEnder force-pushed the fix/dotnet-format-fixed branch from 60f8cbf to 0f254ab Compare May 20, 2022 13:59
@sonarqubecloud
Copy link
Copy Markdown

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
Copy Markdown
Contributor

🎉 This PR is included in version 1.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown
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