Skip to content

Commit d22d120

Browse files
authored
Merge pull request #2383 from NativeScript/plamen5kov/fix_template_option_parameters
fix the --template option
2 parents e830dfe + be85222 commit d22d120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/project-templates-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class ProjectTemplatesService implements IProjectTemplatesService {
2626
realTemplatePath = this.prepareNativeScriptTemplate(constants.RESERVED_TEMPLATE_NAMES[name], version, projectDir).wait();
2727
} else {
2828
// Use the original template name, specified by user as it may be case-sensitive.
29-
realTemplatePath = this.prepareNativeScriptTemplate(originalTemplateName, version, projectDir).wait();
29+
realTemplatePath = this.prepareNativeScriptTemplate(name, version, projectDir).wait();
3030
}
3131
} else {
3232
realTemplatePath = this.prepareNativeScriptTemplate(constants.RESERVED_TEMPLATE_NAMES["default"], null/*version*/, projectDir).wait();

0 commit comments

Comments
 (0)