Commit 9618cbf
fix conda env refresh not waiting for promises (microsoft#751)
This was causing the refresh function to return with empty or missing
environments before waiting for all async calls that update the env
collection.
This bug was somehow causing duplicate environments to appear in the
list of environments.
Co-authored-by: Eleanor Boyd <26030610+eleanorjboyd@users.noreply.github.com>1 parent 4cef397 commit 9618cbf
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
703 | 705 | | |
704 | 706 | | |
705 | 707 | | |
| |||
0 commit comments