Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
d88ad722
Commit
d88ad722
authored
Aug 29, 2017
by
telyn
Browse files
Fix wrong if in symbiosis-ssl call_hooks
parent
84d44920
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/lib/symbiosis/ssl.rb
View file @
d88ad722
...
...
@@ -12,7 +12,7 @@ module Symbiosis
Dir
.
glob
(
hooks_path
).
each
do
|
script
|
next
unless
File
.
executable?
(
script
)
next
if
File
.
basename
(
script
)
=~
/^[a-zA-Z0-9_-]+$/
next
unless
File
.
basename
(
script
)
=~
/^[a-zA-Z0-9_-]+$/
success
&&=
run_hook_script
(
event
,
script
,
domains_with_updates
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment