brobeson / ctest-lab

A CTest extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=brobeson.ctest-lab
MIT License
1 stars 1 forks source link

add a type definition for the ctest output #1

Closed PhilipNelson5 closed 2 years ago

PhilipNelson5 commented 2 years ago

I also cleaned up the ctest run function to handle a promise rejection. When you await an async function, if that function rejects, then the rejected promis throws. So you either need to put the await in a try/catch or use then/catch methods

brobeson commented 2 years ago

Thanks for the contribution. I manually merged and fixed the merge conflicts in f7c2fd1763d984c60c184e0e7874e3f5e86834a5.