mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +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
|
|
@ -75,7 +75,7 @@ export class BackgroundTerminalAnalyzer {
|
|||
* @param command The command string that was executed (for context in prompts).
|
||||
* @returns A promise resolving to the final analysis outcome.
|
||||
*/
|
||||
public async analyze(
|
||||
async analyze(
|
||||
pid: ProcessHandle,
|
||||
tempStdoutFilePath: string,
|
||||
tempStderrFilePath: string,
|
||||
|
|
@ -91,8 +91,8 @@ export class BackgroundTerminalAnalyzer {
|
|||
|
||||
while (attempts < this.maxAttempts) {
|
||||
attempts++;
|
||||
let currentStdout: string = '';
|
||||
let currentStderr: string = '';
|
||||
let currentStdout = '';
|
||||
let currentStderr = '';
|
||||
|
||||
// --- Robust File Reading ---
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ async function readFullStructure(
|
|||
const name = path.basename(folderPath);
|
||||
// Initialize with isIgnored: false
|
||||
const folderInfo: Omit<FullFolderInfo, 'totalChildren' | 'totalFiles'> = {
|
||||
name: name,
|
||||
name,
|
||||
path: folderPath,
|
||||
files: [],
|
||||
subFolders: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue