Skip to content

Commit

Permalink
chore: eslint updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jbottigliero committed Dec 5, 2019
1 parent 73df59c commit 3be2404
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -9,7 +9,7 @@ const tag = require('./lib/lifecycles/tag')
const { resolveUpdaterObjectFromArgument } = require('./lib/updaters')

module.exports = function standardVersion (argv) {
let defaults = require('./defaults')
const defaults = require('./defaults')
/**
* `--message` (`-m`) support will be removed in the next major version.
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/updaters/types/json.js
Expand Up @@ -8,8 +8,8 @@ module.exports.readVersion = function (contents) {

module.exports.writeVersion = function (contents, version) {
const json = JSON.parse(contents)
let indent = detectIndent(contents).indent
let newline = detectNewline(contents)
const indent = detectIndent(contents).indent
const newline = detectNewline(contents)
json.version = version
return stringifyPackage(json, indent, newline)
}
Expand Down

0 comments on commit 3be2404

Please sign in to comment.