mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
remove extraneous var declaration
just a go nitpick :)
This commit is contained in:
parent
8c1fb2a983
commit
766b4902d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user