clean: remove useless code

This commit is contained in:
Levi Yan
2025-01-22 10:27:07 +08:00
parent d49ac4cfb6
commit a0aee79aba

View File

@@ -55,8 +55,6 @@ export async function getVsCodeCommitId(): Promise<string> {
const href = commitLink.attr('href'); // href example: /microsoft/vscode/commit/fabdb6a30b49f79a7aba0f2ad9df9b399473380f
const commitHash = href.split('/').pop();
console.log('Commit Hash:', commitHash);
return commitHash
} catch(error) {
console.error('Failed to get commit id: ' + error)