Skip to content

Commit 27f0b0f

Browse files
committed
fix: internal plugins are mistakenly recognized as external plugins
This fixes a problem where external plugin commands, such as fusuma-sendkey, mistakenly recognize fusuma's internal plugins as external plugins.
1 parent f4b52f8 commit 27f0b0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fusuma/plugin/manager.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def fusuma_external_plugin_paths
4040
plugin_gemspec = Gem::Specification.load(plugin_gemspec_path)
4141
fusuma_gemspec_path = File.expand_path("../../../fusuma.gemspec", __dir__)
4242
fusuma_gemspec = Gem::Specification.load(fusuma_gemspec_path)
43+
next if plugin_gemspec == fusuma_gemspec
4344

4445
if plugin_gemspec.dependencies.find { |d| d.name == "fusuma" }&.match?(fusuma_gemspec)
4546
siblings_plugin

0 commit comments

Comments
 (0)