Skip to content

Commit

Permalink
Fix flaky docs snippet (#5646)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman authored Jan 7, 2025
1 parent cc0163a commit 465c0d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 3 additions & 2 deletions docs/snippets/process-out-eval.nf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
process sayHello {
output:
eval('bash --version')
eval('echo Hello world!')

script:
"""
echo Hello world!
true
"""
}

Expand Down
7 changes: 1 addition & 6 deletions docs/snippets/process-out-eval.out
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Hello world!
1 change: 1 addition & 0 deletions docs/snippets/process-stdout.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ process sayHello {
output:
stdout

script:
"""
echo Hello world!
"""
Expand Down

0 comments on commit 465c0d5

Please sign in to comment.