Skip to content

Commit ae48c0e

Browse files
committed
add mkdir;
1 parent 044fa13 commit ae48c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genkit-tools/cli/src/utils/build-md.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const goContextPath = path.resolve(CONTEXT_DIR, 'GENKIT.go.md');
3131

3232
const AUTO_GEN_HEADER = '// Auto-generated, do not edit';
3333

34-
console.log(CONTEXT_DIR);
3534
// Ensure output directory exists
3635
if (!fs.existsSync(CONTEXT_DIR)) {
3736
throw new Error('Context dir is missing.');
@@ -53,5 +52,6 @@ async function mdToTs(filePath, target) {
5352
}
5453
}
5554

55+
fs.mkdirSync(TARGET_DIR, { recursive: true });
5656
mdToTs(jsContextPath, path.join(TARGET_DIR, 'nodejs.ts'));
5757
mdToTs(goContextPath, path.join(TARGET_DIR, 'go.ts'));

0 commit comments

Comments
 (0)