Skip to content

Commit

Permalink
Merge pull request #3498 from ActiveState/DX-3054
Browse files Browse the repository at this point in the history
Fix exec should bypass async; not export env
  • Loading branch information
Naatan committed Sep 18, 2024
1 parent d2a3519 commit b2342b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/runners/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (s *Exec) Run(params *Params, args ...string) (rerr error) {

s.out.Notice(locale.Tr("operating_message", projectNamespace, projectDir))

rt, err := runtime_runbit.Update(s.prime, trigger, runtime_runbit.WithoutHeaders())
rt, err := runtime_runbit.Update(s.prime, trigger, runtime_runbit.WithoutHeaders(), runtime_runbit.WithIgnoreAsync())
if err != nil {
return errs.Wrap(err, "Could not initialize runtime")
}
Expand Down
2 changes: 1 addition & 1 deletion internal/runners/export/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (e *Env) Run() error {
e.project.Dir()),
)

rt, err := runtime_runbit.Update(e.prime, trigger.TriggerActivate, runtime_runbit.WithoutHeaders(), runtime_runbit.WithIgnoreAsync())
rt, err := runtime_runbit.Update(e.prime, trigger.TriggerActivate, runtime_runbit.WithoutHeaders())
if err != nil {
return locale.WrapError(err, "err_export_new_runtime", "Could not initialize runtime")
}
Expand Down

0 comments on commit b2342b7

Please sign in to comment.