mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-28 01:25:48 -05:00
Reworks commanding structure for less redundancy
Adds command args copying when needed
This commit is contained in:
@@ -21,6 +21,8 @@ export class ShowFileBlameCommand extends EditorCommand {
|
||||
|
||||
try {
|
||||
if (args.type === undefined) {
|
||||
args = { ...args };
|
||||
|
||||
const cfg = workspace.getConfiguration().get<IConfig>(ExtensionKey)!;
|
||||
args.type = cfg.blame.file.annotationType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user