Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-1997 committed Nov 19, 2024
1 parent a895003 commit 5fb341c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vscode/src/autoedits/autoedits-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class AutoeditsProvider implements vscode.InlineCompletionItemProvider, v
codeToReplace.codeToRewriteSuffix
)
const codeToRewriteAfterCurrentLine = codeToReplace.codeToRewriteSuffix.slice(
docContext.currentLineSuffix.length
docContext.currentLineSuffix.length + 1 // Additional char for newline
)
const isPrefixMatch = prediction.startsWith(codeToReplace.codeToRewritePrefix)
const isSuffixMatch = prediction.endsWith(codeToRewriteAfterCurrentLine)
Expand Down
4 changes: 1 addition & 3 deletions vscode/src/services/open-telemetry/debug-utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { type Attributes, type Span, trace } from '@opentelemetry/api'

function bubbleSort(arr) {

}
function bubbleSort(arr) {}

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / build

'bubbleSort' is declared but its value is never read.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / build

Parameter 'arr' implicitly has an 'any' type.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (ubuntu, 18)

'bubbleSort' is declared but its value is never read.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (ubuntu, 18)

Parameter 'arr' implicitly has an 'any' type.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (ubuntu, 20)

'bubbleSort' is declared but its value is never read.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (ubuntu, 20)

Parameter 'arr' implicitly has an 'any' type.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (windows, 20)

'bubbleSort' is declared but its value is never read.

Check failure on line 3 in vscode/src/services/open-telemetry/debug-utils.ts

View workflow job for this annotation

GitHub Actions / test-unit (windows, 20)

Parameter 'arr' implicitly has an 'any' type.

/**
* Adds OpenTelemetry event to the current active span in the development environment.
Expand Down

0 comments on commit 5fb341c

Please sign in to comment.