clean: remove useless code
This commit is contained in:
		@@ -54,8 +54,6 @@ export async function getVsCodeCommitId(): Promise<string> {
 | 
				
			|||||||
      // Extract the href attribute and commit hash
 | 
					      // Extract the href attribute and commit hash
 | 
				
			||||||
      const href = commitLink.attr('href'); // href example:  /microsoft/vscode/commit/fabdb6a30b49f79a7aba0f2ad9df9b399473380f
 | 
					      const href = commitLink.attr('href'); // href example:  /microsoft/vscode/commit/fabdb6a30b49f79a7aba0f2ad9df9b399473380f
 | 
				
			||||||
      const commitHash = href.split('/').pop(); 
 | 
					      const commitHash = href.split('/').pop(); 
 | 
				
			||||||
    
 | 
					 | 
				
			||||||
      console.log('Commit Hash:', commitHash);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return commitHash
 | 
					      return commitHash
 | 
				
			||||||
    } catch(error)  {
 | 
					    } catch(error)  {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user