mirror of
https://github.com/Squibid/rph.git
synced 2025-12-05 06:09:41 -05:00
fix(template): attempt to fix a crash on windows
This commit is contained in:
parent
895e8903ce
commit
f72b12aa6c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ func GenerateProject(opts TemplateOptions) {
|
||||||
return
|
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 {
|
if err != nil {
|
||||||
slog.Error("Unable to find project template", "template", opts.ProjectType, "error", err)
|
slog.Error("Unable to find project template", "template", opts.ProjectType, "error", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue