mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
GitHub - revert ESM migration (#247322)
* Revert "fix github extension bundling (#247314)" This reverts commit0cffb673f5. * Revert "migrate github-extension to ESM" This reverts commit493874c390. * Add missing JS file
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import { API as GitAPI, RefType, Repository } from './typings/git.js';
|
||||
import { getRepositoryFromUrl, repositoryHasGitHubRemote } from './util.js';
|
||||
import { API as GitAPI, RefType, Repository } from './typings/git';
|
||||
import { getRepositoryFromUrl, repositoryHasGitHubRemote } from './util';
|
||||
|
||||
export function isFileInRepo(repository: Repository, file: vscode.Uri): boolean {
|
||||
return file.path.toLowerCase() === repository.rootUri.path.toLowerCase() ||
|
||||
|
||||
Reference in New Issue
Block a user