Skip to content

Commit 7630801

Browse files
est7unnamedd
authored andcommitted
Update commands/ai/gemini/gemini.js
Improve comments, clearly indicating that "selected text" is the parameter name to avoid confusion. Co-authored-by: Thiago Holanda <[email protected]>
1 parent 0dceb4c commit 7630801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/ai/gemini/gemini.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
const { execSync } = require("child_process");
3333

34-
const selectedText = process.argv[2] || ""; // Get the selected text, or an empty string if none is selected.
34+
const selectedText = process.argv[2] || ""; // Get the text from "Selected Text" argument, or use an empty string if argument is empty.
3535
const prompt = process.argv[3];
3636

3737
process.env.OUTPUT_FORMAT = "json";

0 commit comments

Comments
 (0)