Skip to content

Commit

Permalink
Fixed cmd cloud error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed Dec 5, 2018
1 parent da4a6c1 commit 14d603b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/nextflow/cli/CmdCloud.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class CmdCloud extends CmdBase implements UsageAware {

// no driver was specified -- choose the first available
if( !driverName ) {
if( availDrivers.size()>1 ) throw new AbortOperationException("No cloud driver was specified -- Use option -driver to choose one of the following: ${availDrivers.collect { ',' }}")
if( availDrivers.size()>1 ) throw new AbortOperationException("No cloud driver was specified -- Use option -driver to choose one of the following: ${availDrivers.join(', ')}")
driverName = availDrivers[0]
}
// check that an existing driver was specified
Expand Down

0 comments on commit 14d603b

Please sign in to comment.