Skip to content

Commit

Permalink
fix: load the package.json file of the cwd, not of the release-notes …
Browse files Browse the repository at this point in the history
…repo
  • Loading branch information
DaRaFF committed Oct 25, 2019
1 parent 7512776 commit 87df080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmd_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const colors = require('chalk')
const shell = require('shelljs')
shell.set('-e')
const { join, resolve } = require('path')
const pkg = require(join(__dirname, '../package.json'))
const pkg = require(join(process.cwd(), '/package.json'))

// External dependencies to pass to the commands
let dep = {
Expand Down

0 comments on commit 87df080

Please sign in to comment.