Skip to content

Commit

Permalink
Merge pull request #14 from pluiedev/fix/13
Browse files Browse the repository at this point in the history
fix: uninitialized constant Fusuma::Plugin::Executors::WmctrlExecutor::Workspace
  • Loading branch information
iberianpig committed Jan 26, 2024
2 parents 8b42d11 + 509af7a commit a4e2fa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/fusuma/plugin/executors/wmctrl_executor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module Plugin
module Executors
# Control Window or Workspaces by executing wctrl
class WmctrlExecutor < Executor
class InvalidOption < StandardError; end

# executor properties on config.yml
# @return [Array<Symbol>]
def execute_keys
Expand Down Expand Up @@ -55,7 +57,7 @@ def executable?(event)
# @return [NilClass]
def search_command(event)
search_workspace_command(event) || search_window_command(event)
rescue Workspace::InvalidOption => e
rescue InvalidOption => e
MultiLogger.error(e.message)
exit 1
end
Expand Down

0 comments on commit a4e2fa2

Please sign in to comment.