Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(telemetry): session_end not caching events (#5817)
## Problem When the user shutdown their extension gracefully our mechanism that would cache any pending metrics for the next startup would not save to disk. This was due to the VS Code FS implementation being used, but it will not work since the function it is called in is called by `deactivate()` which does not have access to vscode apis on shutdown. ## Solution Solution is to swap it with the node fs implementation --- <!--- REMINDER: Ensure that your PR meets the guidelines in CONTRIBUTING.md --> License: I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: nkomonen-amazon <[email protected]>
- Loading branch information