Skip to content

Commit 2e01c36

Browse files
authored
Merge pull request #3425 from ewels/o-pipefail-newline
`-o pipefail` newline
2 parents df9d892 + 2d7e1a6 commit 2e01c36

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- Update pre-commit hook editorconfig-checker/editorconfig-checker.python to v3.1.2 ([#3414](https://github.com/nf-core/tools/pull/3414))
2222
- Fix `process.shell` in `nextflow.config` ([#3416](https://github.com/nf-core/tools/pull/3416))
2323
- Update python:3.12-slim Docker digest to 123be56 ([#3421](https://github.com/nf-core/tools/pull/3421))
24+
- `-o pipefail` newline ([#3425](https://github.com/nf-core/tools/pull/3425))
2425

2526
## [v3.1.2 - Brass Boxfish Patch](https://github.com/nf-core/tools/releases/tag/3.1.2) - [2025-01-20]
2627

nf_core/pipeline-template/nextflow.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ process.shell = [
243243
"-C", // No clobber - prevent output redirection from overwriting files.
244244
"-e", // Exit if a tool returns a non-zero status/exit code
245245
"-u", // Treat unset variables and parameters as an error
246-
"-o pipefail" // Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
246+
"-o", // Returns the status of the last command to exit..
247+
"pipefail" // ..with a non-zero status or zero if all successfully execute
247248
]
248249

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

0 commit comments

Comments
 (0)