mirror of
https://github.com/Squibid/rph.git
synced 2025-10-19 19:34:04 +00:00
fix(template): attempt to fix a crash on windows
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user