mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
Initial auto-fixing of linting errors.
- This is the result of runing `npm lint -- -fix`
This commit is contained in:
parent
cb30351403
commit
e0339993ae
20 changed files with 37 additions and 50 deletions
|
|
@ -127,7 +127,7 @@ export class TerminalTool extends BaseTool<
|
|||
TerminalToolParams,
|
||||
TerminalToolResult
|
||||
> {
|
||||
public static Name: string = 'execute_bash_command';
|
||||
static Name: string = 'execute_bash_command';
|
||||
|
||||
private readonly rootDirectory: string;
|
||||
private readonly outputLimit: number;
|
||||
|
|
@ -387,7 +387,7 @@ Use this tool for running build steps (\`npm install\`, \`make\`), linters (\`es
|
|||
const confirmationDetails: ToolExecuteConfirmationDetails = {
|
||||
title: 'Confirm Shell Command',
|
||||
command: params.command,
|
||||
rootCommand: rootCommand,
|
||||
rootCommand,
|
||||
description: `Execute in '${this.currentCwd}':\n${description}`,
|
||||
onConfirm: async (outcome: ToolConfirmationOutcome) => {
|
||||
if (outcome === ToolConfirmationOutcome.ProceedAlways) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue