Sha256: cc6e85f89dcdcc9fd50431ef29b4214cc57d0aa8523f6ff2866de2a812970f03
Contents?: true
Size: 616 Bytes
Versions: 4
Compression:
Stored size: 616 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module LanguageServer class RunChecksExecuteCommandProvider < ExecuteCommandProvider include URIHelper command "runChecks" def initialize(diagnostics_engine, root_path, root_config) @diagnostics_engine = diagnostics_engine @root_path = root_path @root_config = root_config end def execute(_args) @diagnostics_engine.analyze_and_send_offenses( @root_path, @root_config, only_single_file: false, force: true ) nil end end end end
Version data entries
4 entries across 4 versions & 1 rubygems