Skip to content

Commit

Permalink
Log Format
Browse files Browse the repository at this point in the history
  • Loading branch information
SergkeiM committed Mar 15, 2023
1 parent 5afebcc commit 8fe78b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project sticks to [Semantic Versioning](https://semver.org/spec/v2.0.0.

## Unreleased

### Changed
- Log output format

## 1.1.1 - 2023-03-15
### Added
- Added log output
Expand Down
4 changes: 2 additions & 2 deletions src/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export function logResult(files, viteOptions) {
console.info([
'',
`${cyan(`S3Plugin v${version}`)}`,
'files uploaded',
...files.map(p => ` ${dim(relative(root, p.path))}`),
`✓ ${files.length} files uploaded`,
...files.map(p => `${dim(relative(root, p.path))}`),
].join('\n'))
}
}

0 comments on commit 8fe78b9

Please sign in to comment.