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

Function get_diagnostics

src/py/utils/script_utils.py:30–34  ·  view source on GitHub ↗

Gets the diagnostics part of the output generated by the node.js scripts

(output)

Source from the content-addressed store, hash-verified

28
29
30def get_diagnostics(output):
31 """Gets the diagnostics part of the output generated by the node.js scripts"""
32 start = DIAGNOSTICS_MARKER_BEGIN
33 end = DIAGNOSTICS_MARKER_END
34 return get_output_between(output, start, end)
35
36
37def get_prettified_code(output):

Callers 1

prettifyFunction · 0.85

Calls 1

get_output_betweenFunction · 0.85

Tested by

no test coverage detected