happycommit icon indicating copy to clipboard operation
happycommit copied to clipboard

Teach happycommit to handle emojis 😊 in your readme.

Open jackbackes opened this issue 2 years ago • 0 comments

Right now happycommit errors if it encounters an emoji in your code. Fix this.

To replicate... add an emoji to your code and stage it, then cargo run .

You'll get an error something like:

thread 'main' panicked at 'Failed to connect to OpenAI API: Error tokenizing code changes at index 59: []', src/main.rs:308:22

jackbackes avatar Apr 18 '23 04:04 jackbackes