Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitek Karas <vitek.karas@microsoft.com>2021-03-11 15:37:47 +0300
committerGitHub <noreply@github.com>2021-03-11 15:37:47 +0300
commitdb52b51e8fbdefb8ddfa076dbb40edc55af47c42 (patch)
tree664581847f199e3592b4eda0f8bad5ac98669532 /lint.cmd
parentbb923d296a0aa9afa499ffe29dcf71e66ee54352 (diff)
Fix lint to avoid generating binlog file (#1879)
Latest lint writes formatDiagnosticLog.binlong next to the solution file when running with --verbosity diagnostic. There's no way to redirect or disable this - https://github.com/dotnet/format/issues/1041. So this change disables --verbosity diagnostic for local runs of lint and adds it only to the CI (where the machine will clean the enlistment anyway).
Diffstat (limited to 'lint.cmd')
-rw-r--r--lint.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/lint.cmd b/lint.cmd
index a72ba7bb9..7e17179ce 100644
--- a/lint.cmd
+++ b/lint.cmd
@@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "Set-Location %~dp0; & """%~dp0eng\dotnet.ps1""" ""tool restore"""
-powershell -ExecutionPolicy ByPass -NoProfile -command "Set-Location %~dp0; & """%~dp0eng\dotnet.ps1""" ""tool run dotnet-format -- illink.sln --verbosity diagnostic --fix-whitespace --exclude src/analyzer src/tuner external %*"""
+powershell -ExecutionPolicy ByPass -NoProfile -command "Set-Location %~dp0; & """%~dp0eng\dotnet.ps1""" ""tool run dotnet-format -- illink.sln --fix-whitespace --exclude src/analyzer src/tuner external %*"""