Skip to content

Commit 867f9d2

Browse files
committed
Fixes formatting to satisfy prettier
(#4102)
1 parent 39133d6 commit 867f9d2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/commands/patches.ts

+4-6
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,10 @@ abstract class CreatePatchCommandBase extends GlCommandBase {
168168
repo ??= await getRepositoryOrShowPicker(title);
169169
if (repo == null) return;
170170

171-
return repo.git
172-
.diff()
173-
.getDiff?.(args?.to ?? uncommitted, args?.from ?? 'HEAD', {
174-
includeUntracked: args?.includeUntracked ?? (args?.to != null || args?.to === uncommitted),
175-
uris: args?.uris,
176-
});
171+
return repo.git.diff().getDiff?.(args?.to ?? uncommitted, args?.from ?? 'HEAD', {
172+
includeUntracked: args?.includeUntracked ?? (args?.to != null || args?.to === uncommitted),
173+
uris: args?.uris,
174+
});
177175
}
178176

179177
abstract override execute(args?: CreatePatchCommandArgs): Promise<void>;

0 commit comments

Comments
 (0)