Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion genkit-tools/common/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export async function findServersDir(projectRoot: string): Promise<string> {
* @returns project name
*/
export function projectNameFromGenkitFilePath(filePath: string): string {
const parts = filePath.split('/');
const parts = filePath.split(/[/\\]/); // <-- Supports Windows & POSIX
Comment thread
CatoPaus marked this conversation as resolved.
Outdated
const basePath = parts
.slice(
0,
Expand Down
Loading