Skip to content

Commit ce44dd2

Browse files
mrastiakbcoe
authored andcommittedMay 14, 2019
fix: update config file name in command based on README.md (#357)
BREAKING CHANGE: we were accepting .version.json as a config file, rather than .versionrc.json
1 parent 32370d6 commit ce44dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎command.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const findUp = require('find-up')
22
const defaults = require('./defaults')
33
const { readFileSync } = require('fs')
44

5-
const configPath = findUp.sync(['.versionrc', '.version.json'])
5+
const configPath = findUp.sync(['.versionrc', '.versionrc.json'])
66
const config = configPath ? JSON.parse(readFileSync(configPath)) : {}
77
const spec = require('conventional-changelog-config-spec')
88
const { START_OF_LAST_RELEASE_PATTERN } = require('./lib/lifecycles/changelog')

0 commit comments

Comments
 (0)
Please sign in to comment.