Skip to content

Commit ce55440

Browse files
committed
eslint --fix
1 parent fd4a9ae commit ce55440

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3026,7 +3026,7 @@ export class Cline {
30263026
}
30273027

30283028
async loadContext(userContent: UserContent, includeFileDetails: boolean = false) {
3029-
return await Promise.all([
3029+
return Promise.all([
30303030
// Process userContent array, which contains various block types:
30313031
// TextBlockParam, ImageBlockParam, ToolUseBlockParam, and ToolResultBlockParam.
30323032
// We need to apply parseMentions() to:

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
27372737
}
27382738

27392739
private async getSecret(key: SecretKey) {
2740-
return await this.context.secrets.get(key)
2740+
return this.context.secrets.get(key)
27412741
}
27422742

27432743
// dev

src/integrations/misc/process-images.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function selectImages(): Promise<string[]> {
1717
return []
1818
}
1919

20-
return await Promise.all(
20+
return Promise.all(
2121
fileUris.map(async (uri) => {
2222
const imagePath = uri.fsPath
2323
const buffer = await fs.readFile(imagePath)

src/services/mcp/McpHub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export class McpHub {
579579
if (connection.server.disabled) {
580580
throw new Error(`Server "${serverName}" is disabled`)
581581
}
582-
return await connection.client.request(
582+
return connection.client.request(
583583
{
584584
method: "resources/read",
585585
params: {
@@ -615,7 +615,7 @@ export class McpHub {
615615
timeout = 60 * 1000
616616
}
617617

618-
return await connection.client.request(
618+
return connection.client.request(
619619
{
620620
method: "tools/call",
621621
params: {

src/services/tree-sitter/languageParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface LanguageParser {
2323
}
2424

2525
async function loadLanguage(langName: string, wasmDir: string) {
26-
return await Parser.Language.load(path.join(wasmDir, `tree-sitter-${langName}.wasm`))
26+
return Parser.Language.load(path.join(wasmDir, `tree-sitter-${langName}.wasm`))
2727
}
2828

2929
let isParserInitialized = false

0 commit comments

Comments
 (0)