Skip to content

Commit 045d5a8

Browse files
Emyrkaslilac
andauthored
more precise source comment
Co-authored-by: ケイラ <[email protected]>
1 parent aa5b825 commit 045d5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func init() {
2525
},
2626
Type: function.StaticReturnType(cty.String),
2727
Impl: func(args []cty.Value, retType cty.Type) (cty.Value, error) {
28-
// This code is taken directly from "github.com/mitchellh/go-homedir"
28+
// This code is taken directly from https://github.com/mitchellh/go-homedir/blob/af06845cf3004701891bf4fdb884bfe4920b3727/homedir.go#L58
2929
// The only change is that instead of expanding the path, we return an error
3030
path := args[0].AsString()
3131
if len(path) == 0 {

0 commit comments

Comments
 (0)