fix(template): attempt to fix a crash on windows

This commit is contained in:
2025-10-17 18:19:55 -04:00
parent 895e8903ce
commit f72b12aa6c

View File

@@ -54,7 +54,7 @@ func GenerateProject(opts TemplateOptions) {
return
}
subFS, err := fs.Sub(fsys, filepath.Join(opts.Lang, opts.ProjectType))
subFS, err := fs.Sub(fsys, path.Join(opts.Lang, opts.ProjectType))
if err != nil {
slog.Error("Unable to find project template", "template", opts.ProjectType, "error", err)
}