Skip to content

Commit

Permalink
fix(gatsby-cli): log correct version (gatsbyjs#13920)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyaillet authored and sidharthachatterjee committed May 18, 2019
1 parent 935330c commit 649f6d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-cli/src/create-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ module.exports = argv => {

try {
const { version } = require(`../package.json`)
cli.version(`version`, version)
setDefaultTags({ gatsbyCliVersion: version })
} catch (e) {
// ignore
Expand Down

0 comments on commit 649f6d8

Please sign in to comment.