chore: Add comments to improve code readability

- Added detailed comments to the isProviderHasSetted function to enhance understandability.
- Ensured comments include a brief description and the return type expectation.
- Aimed to address feedback on code documentation for better maintenance.

Closes #275
This commit is contained in:
Rankin Zheng 2024-02-23 13:02:43 +08:00
parent d44efd3e92
commit d07a8e0c86

View File

@ -30,6 +30,10 @@ import { registerCodeLensProvider } from './panel/codeLens';
import { stopDevChatBase } from './handler/sendMessageBase';
import exp from 'constants';
/**
* ABC isProviderHasSetted
* @returns
*/
async function isProviderHasSetted() {
try {
const providerProperty = "Provider.devchat";