Skip to content

Commit

Permalink
style: fix style to match standard
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Oct 15, 2016
1 parent b83ab6d commit a70117f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var semver = require('semver')
var util = require('util')
var objectAssign = require('object-assign')

module.exports = function standardVersion(argv, done) {
module.exports = function standardVersion (argv, done) {
var pkgPath = path.resolve(process.cwd(), './package.json')
var pkg = require(pkgPath)
var defaults = require('./defaults')
Expand Down Expand Up @@ -48,7 +48,7 @@ module.exports = function standardVersion(argv, done) {
})
}

function bumpVersion(manual, callback) {
function bumpVersion (manual, callback) {
if (!manual) {
conventionalRecommendedBump({
preset: 'angular'
Expand All @@ -62,7 +62,7 @@ function bumpVersion(manual, callback) {
}
}

function outputChangelog(argv, cb) {
function outputChangelog (argv, cb) {
createIfMissing(argv)
var header = '# Change Log\n\nAll notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.\n'
var oldContent = fs.readFileSync(argv.infile, 'utf-8')
Expand Down

0 comments on commit a70117f

Please sign in to comment.