We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4deb7bc commit 1cc7a64Copy full SHA for 1cc7a64
src/commands/commit.ts
@@ -1,5 +1,6 @@
1
import {
2
text,
3
+ confirm,
4
intro,
5
isCancel,
6
multiselect,
@@ -99,10 +100,12 @@ ${chalk.grey('——————————————————')}`
99
100
if (isCancel(userAction)) process.exit(1);
101
102
if (userAction === 'Edit') {
- commitMessage = await text({
103
+ const textResponse = await text({
104
message: 'Please edit the commit message: (press Enter to continue)',
105
initialValue: commitMessage
106
});
107
+
108
+ commitMessage = textResponse.toString();
109
}
110
111
if (userAction === 'Yes' || userAction === 'Edit') {
0 commit comments