Skip to content

Commit 1a72f56

Browse files
authoredAug 8, 2023
Restore loading env from config file (#124)
1 parent b5e1e7a commit 1a72f56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎internal/agent/install.go

+3
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ func Install(dir ...string) error {
226226
}
227227

228228
func RunInstall(c *config.Config) error {
229+
utils.SetEnv(c.Env)
230+
utils.SetEnv(c.Install.Env)
231+
229232
if c.Install.Device == "" || c.Install.Device == "auto" {
230233
c.Install.Device = detectDevice()
231234
}

0 commit comments

Comments
 (0)
Please sign in to comment.