Skip to content

Commit a9243c5

Browse files
committed
evaluate environment variables in the local plugin path
1 parent 86c1c3a commit a9243c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/plugin/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (l *LocalPlugin) LockfileKey() string {
5555
}
5656

5757
func (l *LocalPlugin) Path() string {
58-
path := l.ref.Path
58+
path := os.ExpandEnv(l.ref.Path)
5959
if !strings.HasSuffix(path, pluginConfigName) {
6060
path = filepath.Join(path, pluginConfigName)
6161
}

0 commit comments

Comments
 (0)