|
|
@ -1072,7 +1072,7 @@ export class Repository implements Disposable { |
|
|
|
} |
|
|
|
|
|
|
|
private runTerminalCommand(command: string, ...args: string[]) { |
|
|
|
const parsedArgs = args.map(arg => (arg.startsWith('#') || /['();$|>&]/.test(arg) ? `"${arg}"` : arg)); |
|
|
|
const parsedArgs = args.map(arg => (arg.startsWith('#') || /['();$|>&<]/.test(arg) ? `"${arg}"` : arg)); |
|
|
|
runGitCommandInTerminal(command, parsedArgs.join(' '), this.path, true); |
|
|
|
|
|
|
|
setTimeout(() => this.fireChange(RepositoryChange.Unknown), 2500); |
|
|
|