Good point... Still getting over my bad c habits.. Ill fix.

Kind regards,
Luke Hamilton

Mobile:  +61 0430223558
Skype:  lukekhamilton
Twitter: @lukekhamilton
Email:   luke@lukehamilton.me
Facebook: www.facebook.com/lukekhamilton


“When I let go of what I am, I become what I might be.” – *Lao Tzu*


On Wed, May 1, 2013 at 4:31 PM, Tim Koopmans <notifications@github.com>wrote:

> In lib/gridinit-jmeter/dsl.rb:
>
> > @@ -333,7 +333,7 @@ def to_doc
> >        def run(params={})
> >          file(params)
> >          logger.warn "Test executing locally ..."
> > -        cmd = "#{params[:path]}jmeter -n -t #{params[:file]} -j #{params[:log] ? params[:log] : 'jmeter.log' } -l #{params[:jtl] ? params[:jtl] : 'jmeter.jtl' }"
> > +        cmd = "#{params[:path]}jmeter #{params[:gui] ? nil : "-n" } -t #{params[:file]} -j #{params[:log] ? params[:log] : 'jmeter.log' } -l #{params[:jtl] ? params[:jtl] : 'jmeter.jtl' }"
>
> how about #{"-n" unless params[:gui]}, no need for ternary here
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/altentee/gridinit-jmeter/pull/20/files#r4033234>
> .
>