mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -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},
|
ArgTypes: []ast.Type{ast.TypeString},
|
||||||
ReturnType: ast.TypeString,
|
ReturnType: ast.TypeString,
|
||||||
Callback: func(args []interface{}) (interface{}, error) {
|
Callback: func(args []interface{}) (interface{}, error) {
|
||||||
var path string
|
|
||||||
path, err := homedir.Expand(args[0].(string))
|
path, err := homedir.Expand(args[0].(string))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
Loading…
Reference in New Issue
Block a user