Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/command/create/artifacts/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async function createArtifact(
quiet?: boolean,
) {
const dir = createDirective.directory;
const projectTitle = capitalizeTitle(createDirective.name);
const projectTitle = createDirective.name;
const directiveType = createDirective.template;

// Parse the project type and template
Expand Down
3 changes: 1 addition & 2 deletions src/project/project-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export interface ProjectCreateOptions {
export async function projectCreate(options: ProjectCreateOptions) {
// read and validate options
options = await readOptions(options);

// computed options
const engine = executionEngine(options.engine);
if (!engine) {
Expand Down Expand Up @@ -236,7 +235,7 @@ function projectMarkdownFile(
}

// write file and return it's name
name = (name + engine.defaultExt).toLocaleLowerCase();
name = name + engine.defaultExt;

const ensureSubDir = (dir: string, name: string, subdirectory?: string) => {
if (subdirectory) {
Expand Down