Skip to content

Commit 25b74a1

Browse files
fix: always create output folders
1 parent 782f39b commit 25b74a1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

helpers/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,9 @@ export const installTemplate = async (
177177
}
178178

179179
// Create outputs directory
180-
if (props.tools && props.tools.length > 0) {
181-
await makeDir(path.join(props.root, "output/tools"));
182-
await makeDir(path.join(props.root, "output/uploaded"));
183-
await makeDir(path.join(props.root, "output/llamacloud"));
184-
}
180+
await makeDir(path.join(props.root, "output/tools"));
181+
await makeDir(path.join(props.root, "output/uploaded"));
182+
await makeDir(path.join(props.root, "output/llamacloud"));
185183
} else {
186184
// this is a frontend for a full-stack app, create .env file with model information
187185
await createFrontendEnvFile(props.root, {

0 commit comments

Comments
 (0)