From 2894bbc6998e7723eb658debe2a00e707cb3116a Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Sat, 26 Nov 2016 16:51:50 -0800 Subject: [PATCH] fix: should print message before we bump version --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 49604398d..c7aa5ca09 100755 --- a/index.js +++ b/index.js @@ -65,9 +65,9 @@ function updateConfigs (args, newVersion) { if (stat.isFile()) { var config = require(configPath) var filename = path.basename(configPath) + checkpoint(args, 'bumping version in ' + filename + ' from %s to %s', [config.version, newVersion]) config.version = newVersion fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + '\n', 'utf-8') - checkpoint(args, 'bumping version in ' + filename + ' from %s to %s', [config.version, newVersion]) // flag any config files that we modify the version # for // as having been updated. configsToUpdate[configPath] = true