Skip to content

Commit

Permalink
Merge pull request #28 from pditommaso/patch-3
Browse files Browse the repository at this point in the history
Use safer System.getProperty to access current user
  • Loading branch information
ewels committed Jun 20, 2018
2 parents 53b6c16 + 5ef059d commit fd54f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ summary['Working dir'] = workflow.workDir
summary['Container Engine'] = workflow.containerEngine
if(workflow.containerEngine) summary['Container'] = workflow.container
summary['Current home'] = "$HOME"
summary['Current user'] = "$USER"
summary['Current user'] = System.getProperty("user.name")
summary['Current path'] = "$PWD"
summary['Working dir'] = workflow.workDir
summary['Output dir'] = params.outdir
Expand Down

0 comments on commit fd54f07

Please sign in to comment.