feat: "linting" profiler metric
This commit is contained in:
parent
29bdc0ceac
commit
305866dba2
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ instance : MonadLog CommandElabM where
|
|||
let msg := { msg with data := MessageData.withNamingContext { currNamespace := currNamespace, openDecls := openDecls } msg.data }
|
||||
modify fun s => { s with messages := s.messages.add msg }
|
||||
|
||||
def runLinters (stx : Syntax) : CommandElabM Unit := do
|
||||
def runLinters (stx : Syntax) : CommandElabM Unit := do profileitM Exception "linting" (← getOptions) do
|
||||
let linters ← lintersRef.get
|
||||
unless linters.isEmpty do
|
||||
for linter in linters do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue