Skip to content

Commit

Permalink
fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed Aug 3, 2024
1 parent 8b7e355 commit 0431b7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# seo-ai

## 0.6.1

### Patch Changes

- fix default value in prompt

## 0.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seo-ai",
"version": "0.6.0",
"version": "0.6.1",
"description": "Command-line tool to generate SEO metadata and HTML meta tags using AI models",
"type": "module",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ const generateProjectSummary = async ({ suggestedPaths }: { suggestedPaths: stri
const generateNextMetadataObject = async ({ SEO_METADATA }: { SEO_METADATA: SeoMetadata }) => {
const filePathEntered = await text({
message: `Where would you like to add the metadata object?`,
placeholder: 'src/app/layout.tsx'
// defaultValue: 'src/app/layout.tsx'
placeholder: 'src/app/layout.tsx',
defaultValue: 'src/app/layout.tsx'
})
if (isCancel(filePathEntered)) {
cancel('Operation cancelled.')
Expand Down

0 comments on commit 0431b7e

Please sign in to comment.