File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " gemini-coder" ,
33 "displayName" : " Code Web Chat" ,
4- "description" : " Connect VS Code with chatbots (CWC)" ,
4+ "description" : " Non-agentic AI coding (CWC)" ,
55 "version" : " 1.917.0" ,
66 "scripts" : {
77 "build" : " npx vsce package --no-dependencies" ,
Original file line number Diff line number Diff line change @@ -60,16 +60,18 @@ export const get_git_repository = async (
6060 repo . state . workingTreeChanges . length > 0
6161 )
6262
63- const repositories_to_show =
64- repositories_with_changes . length > 0
65- ? repositories_with_changes
66- : repositories
63+ if ( repositories_with_changes . length == 0 ) {
64+ vscode . window . showInformationMessage (
65+ dictionary . information_message . NO_CHANGES_TO_COMMIT
66+ )
67+ return null
68+ }
6769
68- if ( repositories_to_show . length == 1 ) {
69- return repositories_to_show [ 0 ]
70+ if ( repositories_with_changes . length == 1 ) {
71+ return repositories_with_changes [ 0 ]
7072 }
7173
72- const picks = repositories_to_show . map ( ( repo ) => {
74+ const picks = repositories_with_changes . map ( ( repo ) => {
7375 const folder = vscode . workspace . getWorkspaceFolder ( repo . rootUri )
7476 return {
7577 label : folder ? folder . name : path . basename ( repo . rootUri . fsPath ) ,
You can’t perform that action at this time.
0 commit comments