Skip to content

Commit

Permalink
chore: tweak log message
Browse files Browse the repository at this point in the history
  • Loading branch information
lawvs committed Jan 25, 2024
1 parent ffab675 commit 2df56ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/printBuildInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { name, version } from '~build/package'
import time from '~build/time'
import { isCI } from '~build/ci'
import { github } from '~build/git'
import { github, abbreviatedSha } from '~build/git'

const printBuildInfo = () => {
if (process.env.NODE_ENV === 'development') {
Expand All @@ -12,8 +12,8 @@ const printBuildInfo = () => {
console.log('Project:', name)
console.log('Build date:', time ? time.toLocaleString() : 'Unknown')
console.log('Environment:', `${process.env.NODE_ENV}${isCI ? '(ci)' : ''}`)
console.log('Version:', version)
console.log(`${name} is an open source project, you can view its source code on Github!`)
console.log('Version:', `${version}-${abbreviatedSha}`)
console.log(`This is an open source project, you can view its source code on Github!`)
console.log(github)
console.groupEnd()
}
Expand Down

0 comments on commit 2df56ff

Please sign in to comment.