git commit with input bail early
This commit is contained in:
parent
b31c1e1fc9
commit
4c62dfa0a4
|
@ -608,6 +608,10 @@ export class CommandCenter {
|
|||
|
||||
@command('git.commitWithInput')
|
||||
async commitWithInput(): Promise<void> {
|
||||
if (!scm.inputBox.value) {
|
||||
return;
|
||||
}
|
||||
|
||||
const didCommit = await this.smartCommit(async () => scm.inputBox.value);
|
||||
|
||||
if (didCommit) {
|
||||
|
|
Loading…
Reference in a new issue