Skip to content

Commit

Permalink
fix: sync docs script
Browse files Browse the repository at this point in the history
  • Loading branch information
winchesHe committed Jan 19, 2025
1 parent 5ef0fb9 commit e761cbe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Clone heroui repository
run: |
git clone https://github.com/heroui-inc/heroui-cli heroui --depth 1
git clone https://github.com/heroui-inc/heroui heroui --depth 1
- name: Run docs sync script
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ HeroUI CLI v0.2.1
### Add
Add HeorUI components to your project.
Add HeroUI components to your project.
#### Features
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/sync/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ function syncApiRoutes() {
}
});

writeFileSync(targetPath, JSON.stringify(targetDocs, null, 2), 'utf-8');
writeFileSync(targetPath, `${JSON.stringify(targetDocs, null, 2)}\n`, 'utf-8');
}

0 comments on commit e761cbe

Please sign in to comment.