I need help with ReSharper command line tools #98
-
|
I add this task And variables: If I commited none *.cs files: Maybe someone has already had this problem and can suggest a good solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hi @AlaiyaNetwork, |
Beta Was this translation helpful? Give feedback.
-
|
Hi @AlaiyaNetwork, Could you please take a look at version I've included an example in the release notes, available here. {
"name": "jb cleanup",
"group": "pre-commit",
"command": "dotnet",
"pathMode": "relative",
"include": ["**/*.cs", "**/*.vb", "*.cs"],
"args": [
"jb",
"cleanupcode",
"--include=${staged:;}",
"solutionFile.sln"
]
}Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
Hi @AlaiyaNetwork,
Could you please take a look at version
v0.6.4and let me know if it resolves your issue? In this release, you now have the ability to add a separator to the${staged}variable, for instance,${staged:;}.I've included an example in the release notes, available here.
{ "name": "jb cleanup", "group": "pre-commit", "command": "dotnet", "pathMode": "relative", "include": ["**/*.cs", "**/*.vb", "*.cs"], "args": [ "jb", "cleanupcode", "--include=${staged:;}", "solutionFile.sln" ] }Let me know if you have any questions!