Skip to content

Commit

Permalink
fix: lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
acke committed Oct 14, 2024
1 parent ee9f166 commit 0a12e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export class CodeSuggestionWebviewProvider
this.highlightAddedCode(filePath, patch);
this.setupCloseOnSave(filePath);

vscode.commands.executeCommand(SNYK_CODE_SUBMIT_FIX_FEEDBACK, fixId, 'FIX_APPLIED');
await vscode.commands.executeCommand(SNYK_CODE_SUBMIT_FIX_FEEDBACK, fixId, 'FIX_APPLIED');

break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ declare const acquireVsCodeApi: any;
| SetLessonMessage
| GetLessonMessage;


const vscode = acquireVsCodeApi();

const elements = {
Expand Down Expand Up @@ -298,7 +297,7 @@ declare const acquireVsCodeApi: any;
const diffSuggestion = suggestion.diffs[diffSelectedIndex];
const filePath = suggestion.filePath;
const patch = diffSuggestion.unifiedDiffsPerFile[filePath];
const fixId = suggestion.id
const fixId = suggestion.id;

const message: ApplyGitDiffMessage = {
type: 'applyGitDiff',
Expand Down

0 comments on commit 0a12e08

Please sign in to comment.