Skip to content

Commit 4f8d644

Browse files
committed
fix(create-project): local template handling
1 parent 0e71b7f commit 4f8d644

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/services/project-templates-service.ts

+4
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ export class ProjectTemplatesService implements IProjectTemplatesService {
128128
return defaultVersion;
129129
}
130130

131+
if (this.$fs.exists(templateName)) {
132+
return "";
133+
}
134+
131135
try {
132136
const cliMajorVersion = semver.parse(
133137
semver.coerce(this.$staticConfig.version)

0 commit comments

Comments
 (0)