Skip to content

Conversation

@indiesewell
Copy link

fix: Resolve async issue during F5 debugging

This PR fixes an issue that occurs when debugging the extension using F5, which was preventing the debugger from properly loading the extension.

Changes:

  • Removed the await keyword before axios.get call in ClineProvider.ts
  • This change resolves an async execution issue caused by unnecessary await during initialization
  • Improves performance and stability during extension startup
  • Ensures the extension loads and runs properly in F5 debugging mode

Technical details:
In ClineProvider.ts, axios.get already returns a Promise, so the await keyword is unnecessary. Removing await allows the request to execute asynchronously in the background without blocking the extension's initialization process, thus resolving the loading issue during F5 debugging.

@indiesewell indiesewell merged this pull request into main May 23, 2025
11 of 12 checks passed
@exilelabs exilelabs deleted the fix/f5-debugging-issue branch May 24, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants