Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ getMaxSeverity
Function
getMaxSeverity
static/editor.md/lib/codemirror/addon/lint/lint.js:97–100 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
95
}
96
97
function
getMaxSeverity(a, b) {
98
if
(a ==
"error"
)
return
a;
99
else
return
b;
100
}
101
102
function
groupByLine(annotations) {
103
var
lines = [];
Callers
1
updateLinting
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected