Skip to content

Commit

Permalink
Fix errant Tick
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotmoon committed Jul 15, 2023
1 parent cb1c921 commit ec95284
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified extensions/ChatGPT.popclipextz
Binary file not shown.
2 changes: 1 addition & 1 deletion source/ChatGPT.popclipext/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ const chat = async (input, options) => {
} else {
popclip.pasteText(getTranscript(2));
}
popclip.showSuccess();
} catch (e) {
popclip.showText(getErrorInfo(e));
}
popclip.showSuccess();
return null;
};
function getErrorInfo(error) {
Expand Down
2 changes: 1 addition & 1 deletion source/ChatGPT.popclipext/chatgpt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const chat: ActionFunction = async (input, options) => {
} else {
popclip.pasteText(getTranscript(2));
}
popclip.showSuccess();
} catch (e) {
popclip.showText(getErrorInfo(e));
}
popclip.showSuccess();
return null;
};

Expand Down

0 comments on commit ec95284

Please sign in to comment.