We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc21f3f commit 27356caCopy full SHA for 27356ca
bin/ruby_executable_hooks
@@ -10,7 +10,7 @@ begin
10
Gem::ExecutableHooks.run($0)
11
rescue LoadError
12
warn "unable to load executable-hooks/hooks" if ENV.key?('ExecutableHooks_DEBUG')
13
-end unless $0.end_with?('/executable-hooks-uninstaller')
+end unless $0.match(/\/executable-hooks-uninstaller$/)
14
15
content = File.read($0)
16
0 commit comments