MCPcopy
hub / github.com/victorporof/Sublime-HTMLPrettify / get_diagnostics_parse_fail

Function get_diagnostics_parse_fail

src/py/utils/script_utils.py:44–46  ·  view source on GitHub ↗

Gets the first file parsing failure in the diagnostics

(output)

Source from the content-addressed store, hash-verified

42
43
44def get_diagnostics_parse_fail(output):
45 """Gets the first file parsing failure in the diagnostics"""
46 return re.search('\[HTMLPrettify\] Failed to parse file: (.+?)\n', output)
47
48
49def prettify(args):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected