File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
main/groovy/nextflow/spack
test/groovy/nextflow/spack Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ class SpackCache {
299299 }
300300
301301 @PackageScope
302- int runCommand ( String cmd ) {
302+ void runCommand ( String cmd ) {
303303 log. trace """ spack env create
304304 command: $cmd
305305 timeout: $createTimeout """ . stripIndent()
@@ -317,7 +317,6 @@ class SpackCache {
317317 msg + = err. toString(). trim(). indent(' ' )
318318 throw new IllegalStateException (msg)
319319 }
320- return status
321320 }
322321
323322 /**
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class SpackCacheTest extends Specification {
117117 then :
118118 1 * cache. spackPrefixPath(ENV ) >> PREFIX
119119 0 * cache. isYamlFilePath(ENV )
120- 1 * cache. runCommand( " spack env activate $PREFIX ; spack install -y ; spack env deactivate" )
120+ 1 * cache. runCommand( " spack env activate $PREFIX ; spack install -y ; spack env deactivate" ) >> null
121121 result == PREFIX
122122
123123 when :
You can’t perform that action at this time.
0 commit comments