Method: PlatformosCheck::LanguageServer::DiagnosticsManager#clear_diagnostics
- Defined in:
- lib/platformos_check/language_server/diagnostics_manager.rb
#clear_diagnostics(relative_path) ⇒ Object
For when you know there shouldn’t be anything on that file anymore. (e.g. file delete or file rename)
124 125 126 127 |
# File 'lib/platformos_check/language_server/diagnostics_manager.rb', line 124 def clear_diagnostics(relative_path) relative_path = sanitize_path(relative_path) @latest_diagnostics.delete(relative_path) end |