Repository navigation
Commit 3ff34df
committed
Move MINIMUM_WAIT_TIME to shared constants and enforce it in install specific version command
- getting list of old versions should take at least 2 seconds, just like checking for updates
- move wait time to `apps/editor/src/constants/values.ts`
└── apps
└── editor
└── src
├── commands
│ ├── check-for-updates-command.ts
│ ├── index.ts
│ └── install-specific-version-command.ts
├── constants
│ └── values.ts
├── extension.ts
├── i18n
│ └── translations
│ └── commands
│ └── install-specific-version-command.ts
└── views
└── prompt
└── backend
└── utils
└── check-for-updates.ts1 parent 9357e13 commit 3ff34df
3 files changed
Lines changed: 12 additions & 2 deletions
File tree
- apps/editor/src
- commands
- constants
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments