alirezanet / Husky.Net

Git hooks made easy with Husky.Net internal task runner! 🐶 It brings the dev-dependency concept to the .NET world!
https://alirezanet.github.io/Husky.Net/
MIT License
632 stars 29 forks source link

dotnet husky attach cause unnecessary changes #66

Closed WeihanLi closed 10 months ago

WeihanLi commented 1 year ago

Version

0.5.4 && 0.6.0 preview 1

Details

The command I use

dotnet husky attach ./src/xxx/xxx.csproj

Unnecessary changes:

<?xml version="1.0" encoding="utf-8"?>

image

Is it possible to remove the unnecessary changes

Steps to reproduce

image

Sample project: https://github.com/WeihanLi/dotnet-exec/tree/c5a80e59511d6ce3a9b3d0d247e08bc7b2e706fe

alirezanet commented 10 months ago

It will be fixed in v0.6.0