tweak linky-notify for Workflow compat
This commit is contained in:
parent
b0ce70560a
commit
bfee5916f7
1 changed files with 2 additions and 1 deletions
|
|
@ -57,8 +57,9 @@ def main
|
|||
title ||= line
|
||||
end
|
||||
end
|
||||
title ||= filename.sub(/^[0-9]+-/, '').sub(/\.[^.]+$/, '')
|
||||
if url
|
||||
command = notify_command(title || url, url)
|
||||
command = notify_command(title, url)
|
||||
log "[#{Time.now.iso8601}] #{command}"
|
||||
output = `#{command}`
|
||||
unless $?.success?
|
||||
|
|
|
|||
Loading…
Reference in a new issue