Commit ef7cd4e
authored
refactor(fetcher): migrate withRetries to waitUntil (#6429)
## Problem
Recently a
[PR](https://github.com/aws/aws-toolkit-vscode/pull/6387/files#diff-c0100187095b7c009b33063c21a517248290b37d02ef10e9370d28cd3ed5d1ea)
on master combined `waitUntil` with `withRetries`. Once master merged
into feature branch, it caused this case to start erroring.
Leading to the following:
```
npm error src/shared/resourcefetcher/httpResourceFetcher.ts(164,16): error TS2304: Cannot find name 'withRetries'.
```
## Solution
- migrate to `waitUntil` in the same fashion as the PR.
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 74eabe9 commit ef7cd4e
File tree
1 file changed
+6
-5
lines changed1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments