Skip to content

Commit bdc98c6

Browse files
committed
docs(README.md): update description text for better readability
style(git.ts): add line breaks for better code readability
1 parent f0251d1 commit bdc98c6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h1 align="center">OpenCommit</h1>
55
<h4 align="center">Follow the bird <a href="https://twitter.com/_sukharev_"><img src="https://img.shields.io/twitter/follow/_sukharev_?style=flat&label=_sukharev_&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
66
</div>
7-
<h2>Auto-generate meaningful commits in 1 second</h2>
7+
<h2>Auto-generate meaningful commits in a second</h2>
88
<p>Killing lame commits with AI 🤯🔫</p>
99
<a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
1010
<h4 align="center">🪩 Winner of <a href="https://twitter.com/_sukharev_/status/1683448136973582336">GitHub 2023 hackathon</a> 🪩</h4>

src/utils/git.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ export const getChangedFiles = async (): Promise<string[]> => {
7575

7676
export const gitAdd = async ({ files }: { files: string[] }) => {
7777
const gitAddSpinner = spinner();
78+
7879
gitAddSpinner.start('Adding files to commit');
80+
7981
await execa('git', ['add', ...files]);
82+
8083
gitAddSpinner.stop('Done');
8184
};
8285

0 commit comments

Comments
 (0)