Skip to content

Commit

Permalink
Add newlines and set command to fix nf-core#3416
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Jan 21, 2025
1 parent 0b6b151 commit bef69f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ env {
// Set bash options
process.shell = [
"bash",
"-C", // No clobber - prevent output redirection from overwriting files.
"-e", // Exit if a tool returns a non-zero status/exit code
"-u", // Treat unset variables and parameters as an error
"-o pipefail" // Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
"\nset -C", // No clobber - prevent output redirection from overwriting files.
"\nset -e", // Exit if a tool returns a non-zero status/exit code
"\nset -u", // Treat unset variables and parameters as an error
"\nset -o pipefail" // Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
]

// Disable process selector warnings by default. Use debug profile to enable warnings.
Expand Down

0 comments on commit bef69f2

Please sign in to comment.