Skip to content

Fix TypeScript build error and add missing confirm import (regression from #491)#498

Merged
di-sukharev merged 1 commit intodi-sukharev:masterfrom
kykungz:fix-491
Jul 23, 2025
Merged

Fix TypeScript build error and add missing confirm import (regression from #491)#498
di-sukharev merged 1 commit intodi-sukharev:masterfrom
kykungz:fix-491

Conversation

@kykungz
Copy link
Copy Markdown
Contributor

@kykungz kykungz commented Jul 23, 2025

This PR resolves a TypeScript error in commit.ts caused by a missing confirm import and incorrect usage of the text() prompt. Specifically:

  • Adds the missing confirm import from the prompt toolkit
  • Corrects usage of text() by storing the result in a textResponse variable and converting it to a string before assigning it to commitMessage

These changes fix the build error introduced in #491 and restore proper interactive behavior during the commit flow.

Screenshot 2568-07-23 at 16 19 58

@di-sukharev
Copy link
Copy Markdown
Owner

@kykungz let the god love you ❤️

@di-sukharev di-sukharev merged commit c1756b8 into di-sukharev:master Jul 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants