Skip to content

Commit f850996

Browse files
Update typescriptTools.ts
1 parent 2ec8e10 commit f850996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/swe/lang/nodejs/typescriptTools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getFileSystem } from '#agent/agentContextLocalStorage';
55
import { func, funcClass } from '#functionSchema/functionDecorators';
66
import { logger } from '#o11y/logger';
77
import { ExecResult, execCommand, failOnError, runShellCommand } from '#utils/exec';
8-
import { sophiaDirName } from '../../../appVars';
8+
import { typedaiDirName } from '../../../appVars';
99
import { LanguageTools } from '../languageTools';
1010

1111
// https://typescript.tv/errors/
@@ -38,7 +38,7 @@ export class TypescriptTools implements LanguageTools {
3838
logger.info('Generating TypeScript project map');
3939
const fss = getFileSystem();
4040
const rootFolder = (await fss.getVcsRoot()) ?? fss.getWorkingDirectory();
41-
const dtsFolder = join(rootFolder, sophiaDirName, 'dts');
41+
const dtsFolder = join(rootFolder, typedaiDirName, 'dts');
4242
await promisify(fs.mkdir)(dtsFolder, { recursive: true });
4343
const tsConfigExists = await fss.fileExists('tsconfig.json');
4444
if (!tsConfigExists) throw new Error(`tsconfig.json not found in ${fss.getWorkingDirectory()}`);

0 commit comments

Comments
 (0)