mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
fixes #30054
This commit is contained in:
@@ -329,7 +329,7 @@ export class Git {
|
||||
}
|
||||
|
||||
async clone(url: string, parentPath: string): Promise<string> {
|
||||
const folderName = url.replace(/^.*\//, '').replace(/\.git$/, '') || 'repository';
|
||||
const folderName = decodeURI(url).replace(/^.*\//, '').replace(/\.git$/, '') || 'repository';
|
||||
const folderPath = path.join(parentPath, folderName);
|
||||
|
||||
await mkdirp(parentPath);
|
||||
|
||||
Reference in New Issue
Block a user