Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed template paths in genkit init #83

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions genkit-tools/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ const pluginToInfo: Record<string, PluginInfo> = {

/** Platform to sample flow template paths. */
const sampleTemplatePaths: Record<Platform, string> = {
firebase: '../../config/firebase.index.ts.template',
googlecloud: '../../config/googleCloud.index.ts.template',
nodejs: '../../config/googleCloud.index.ts.template', // This can deviate from GCP template in the future as needed.
nextjs: '../../config/nextjs.genkit.ts.template',
firebase: '../../../config/firebase.index.ts.template',
googlecloud: '../../../config/googleCloud.index.ts.template',
nodejs: '../../../config/googleCloud.index.ts.template', // This can deviate from GCP template in the future as needed.
nextjs: '../../../config/nextjs.genkit.ts.template',
};

/** Supported runtimes for the init command. */
Expand Down
Loading