Skip to content

Commit 2894bbc

Browse files
author
Benjamin Coe
committed
fix: should print message before we bump version
1 parent b788c5f commit 2894bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function updateConfigs (args, newVersion) {
6565
if (stat.isFile()) {
6666
var config = require(configPath)
6767
var filename = path.basename(configPath)
68+
checkpoint(args, 'bumping version in ' + filename + ' from %s to %s', [config.version, newVersion])
6869
config.version = newVersion
6970
fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + '\n', 'utf-8')
70-
checkpoint(args, 'bumping version in ' + filename + ' from %s to %s', [config.version, newVersion])
7171
// flag any config files that we modify the version # for
7272
// as having been updated.
7373
configsToUpdate[configPath] = true

0 commit comments

Comments
 (0)