The install directory is now configurable, with a few minute issues

This commit is contained in:
Brian Madison
2025-11-08 13:58:43 -06:00
parent a4bbfc4b6e
commit 1728acfb0f
224 changed files with 1303 additions and 1036 deletions

View File

@@ -63,9 +63,9 @@ async function install(options) {
}
// Create dev story location if configured
if (config['dev_story_location']) {
if (config['dev_ephemeral_location']) {
// Strip {project-root}/ prefix if present
const storyConfig = config['dev_story_location'].replace('{project-root}/', '');
const storyConfig = config['dev_ephemeral_location'].replace('{project-root}/', '');
const storyPath = path.join(projectRoot, storyConfig);
if (!(await fs.pathExists(storyPath))) {
logger.log(chalk.yellow(`Creating story directory: ${storyConfig}`));