File tree Expand file tree Collapse file tree 7 files changed +28
-24
lines changed Expand file tree Collapse file tree 7 files changed +28
-24
lines changed Original file line number Diff line number Diff line change 1+ version = 1
2+
3+ [[analyzers ]]
4+ name = " javascript"
Original file line number Diff line number Diff line change 160160 "webpack-cli" : " ^5.0.0"
161161 },
162162 "dependencies" : {
163- "axios" : " ^1.2.1 " ,
163+ "axios" : " ^1.6.0 " ,
164164 "axios-retry" : " ^3.5.0" ,
165165 "openai" : " ^4.7.0" ,
166166 "simple-git" : " ^3.16.0"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Diffy extends BaseDiffy {
1313 private gitService : GitService | null = null ;
1414 private _openAIService : OpenAiService | null = null ;
1515 private workspaceService : WorkspaceService | null = null ;
16- isEnabled : boolean = false ;
16+ isEnabled = false ;
1717 private _windowsService : any ;
1818 context ! : ExtensionContext ;
1919
@@ -35,7 +35,7 @@ class Diffy extends BaseDiffy {
3535 this . onWorkSpaceChanged ( ) ;
3636 } ) ;
3737 this . isEnabled = true ;
38- sendToOutput ( ` initiated` ) ;
38+ sendToOutput ( " initiated" ) ;
3939 }
4040
4141 /**
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import simpleGit from "simple-git";
66
77class GitService {
88 static _instance : GitService ;
9- isEnabled : boolean = false ;
9+ isEnabled = false ;
1010 vscodeGitApi : GitApi | null = null ;
1111
1212 /**
@@ -47,7 +47,7 @@ class GitService {
4747 const api = await this . getVscodeGitApi ( ) ;
4848 if ( api === undefined ) {
4949 this . showErrorMessage (
50- ` Please make sure git repo initiated or scm plugin working`
50+ " Please make sure git repo initiated or scm plugin working"
5151 ) ;
5252 this . isEnabled = false ;
5353 return ;
@@ -64,7 +64,7 @@ class GitService {
6464 async checkAndWarnRepoExist ( ) {
6565 const repos = this . vscodeGitApi ?. repositories ;
6666 if ( repos === undefined || repos . length === 0 ) {
67- this . showErrorMessage ( ` No Git Repo Found in Current Workspace` ) ;
67+ this . showErrorMessage ( " No Git Repo Found in Current Workspace" ) ;
6868 return false ;
6969 }
7070 return true ;
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ class OpenAiService implements AIService {
196196 } `
197197 ) ;
198198 } else {
199- window . showErrorMessage ( ` OpenAI Error` ) ;
199+ window . showErrorMessage ( " OpenAI Error" ) ;
200200 }
201201 if ( reason ?. response ?. status && openAIKey ) {
202202 if ( reason ?. response ?. status === 429 ) {
@@ -208,7 +208,7 @@ class OpenAiService implements AIService {
208208 }
209209 if ( reason . response ?. data . error ?. type === "invalid_request_error" ) {
210210 window . showErrorMessage (
211- ` Diffy Error: There was an issue. Server is experiencing downtime/busy. Please try again later.`
211+ " Diffy Error: There was an issue. Server is experiencing downtime/busy. Please try again later."
212212 ) ;
213213 progress ?. report ( {
214214 increment : 1 ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default class WorkspaceService extends EventEmitter {
4343 ! workspace . workspaceFolders ||
4444 workspace . workspaceFolders . length === 0
4545 ) {
46- this . showErrorMessage ( ` Your are not in a Workspace` ) ;
46+ this . showErrorMessage ( " Your are not in a Workspace" ) ;
4747 return false ;
4848 }
4949 return true ;
You can’t perform that action at this time.
0 commit comments