Commit d572551
committed
Safely check for out of date databases
When checking to re-import test databases, if the target database is
missing or otherwise unavailable, avoid the check and just continue.
This avoids a bug where a user would delete a test database and there
would be an error when trying to run a query.1 parent 752ec04 commit d572551
File tree
1 file changed
+9
-1
lines changed- extensions/ql-vscode/src/databases/local-databases
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
230 | 239 | | |
231 | | - | |
232 | 240 | | |
233 | 241 | | |
234 | 242 | | |
| |||
0 commit comments