Skip to content

Commit

Permalink
Hide the hook URL from the command line too
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Nov 16, 2022
1 parent 5d00248 commit 23d0d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/lib/NfcoreTemplate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class NfcoreTemplate {
msg_fields['exitStatus'] = workflow.exitStatus
msg_fields['errorMessage'] = (workflow.errorMessage ?: 'None')
msg_fields['errorReport'] = (workflow.errorReport ?: 'None')
msg_fields['commandLine'] = workflow.commandLine
msg_fields['commandLine'] = workflow.commandLine.replaceFirst(/ +--hook_url +[^ ]+/, "")
msg_fields['projectDir'] = workflow.projectDir
msg_fields['summary'] = summary << misc_fields

Expand Down

0 comments on commit 23d0d19

Please sign in to comment.