Skip to content

Commit

Permalink
fix: default project name
Browse files Browse the repository at this point in the history
  • Loading branch information
yrming committed Jan 4, 2024
1 parent bb24546 commit 2d88ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"publisher": "YRM",
"name": "starter-templates",
"displayName": "Starters",
"version": "0.10.0",
"version": "0.10.1",
"description": "Kickstart your project with a starter in VSCode",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/starter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ export class StarterCommands extends BaseCommands {
const folderPath = fsPath(folders[0])
this.context.lastUsedNewProjectPath = folderPath

const defaultName = nextAvailableFilename(folderPath, `${template.defaultProjectName} - `)
const defaultName = nextAvailableFilename(folderPath, `${template.defaultProjectName}-`)
const name = await this.promptForNameWithSettings(template, defaultName, folderPath)
if (!name)
return
Expand Down

0 comments on commit 2d88ffc

Please sign in to comment.