diff --git a/CHANGELOG.md b/CHANGELOG.md index 18f7254..43d574d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Don't print nextflow help output by default, only on debug mode (#173) + ## [2.1.0] - 2024-12-04 ### Changed diff --git a/src/main.ts b/src/main.ts index ff323b6..a34956f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -76,7 +76,10 @@ async function run(): Promise { // Run Nextflow so it downloads its dependencies try { - await exec.exec("nextflow", ["help"]) + await exec.exec("nextflow", ["help"], { + // set silent to true if not in debug mode + silent: !core.isDebug() + }) } catch (e: unknown) { if (e instanceof Error) { // fail workflow if Nextflow run does not succeed