Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runner/orchestration/file-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
safeWriteFile,
} from '../file-system-utils.js';
import {LlmContextFile, LlmResponseFile, RootPromptDefinition} from '../shared-interfaces.js';
import {join} from 'path';
import {join, resolve} from 'path';
import {existsSync} from 'fs';
import {mkdir, mkdtemp, readFile} from 'fs/promises';
import {globSync} from 'tinyglobby';
Expand Down Expand Up @@ -60,7 +60,7 @@ export async function setupProjectStructure(
const directoriesToCopy: string[] = [];

if (env.executor instanceof LocalExecutor && env.executor.config.projectTemplate) {
const projectTemplatePath = join(env.rootPath, env.executor.config.projectTemplate);
const projectTemplatePath = resolve(env.rootPath, env.executor.config.projectTemplate);

// Copy the template files first.
directoriesToCopy.push(projectTemplatePath);
Expand Down
Loading