Method: ThemeCheck::LanguageServer::RunChecksExecuteCommandProvider#execute
- Defined in:
- lib/theme_check/language_server/execute_command_providers/run_checks_execute_command_provider.rb
#execute(_args) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/theme_check/language_server/execute_command_providers/run_checks_execute_command_provider.rb', line 17 def execute(_args) @diagnostics_engine.analyze_and_send_offenses( @storage.opened_files.map { |relative_path| @storage.path(relative_path) }, @linter_config, only_single_file: @language_server_config.only_single_file?, force: true ) nil end |