remove extraneous var declaration

just a go nitpick :)
This commit is contained in:
Paul Hinze 2015-03-30 19:03:01 -05:00
parent 8c1fb2a983
commit 766b4902d4
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ func interpolationFuncFile() ast.Function {
ArgTypes: []ast.Type{ast.TypeString},
ReturnType: ast.TypeString,
Callback: func(args []interface{}) (interface{}, error) {
var path string
path, err := homedir.Expand(args[0].(string))
if err != nil {
return "", err