robfig/config — pull request #14 by mordyovits (2014-12-01 16:29:19+00:00)
Title: env var err should be returned

Currently, if the computeVar() call rturns an err it's lost. The actual 'return value, err' line cannot return an error ever, because the err value is tested above the computeVar() call in line 150 and would have returned already. With this patch the env var computeVar() err is returned correctly.