From a8f745f9fe74751b87f500af3857b66d4c80f45e Mon Sep 17 00:00:00 2001 From: brunobar79 Date: Mon, 2 Jul 2018 18:49:33 -0400 Subject: eslint --fix . --- development/version-bump.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'development/version-bump.js') diff --git a/development/version-bump.js b/development/version-bump.js index bedf87c01..31d778b34 100644 --- a/development/version-bump.js +++ b/development/version-bump.js @@ -1,6 +1,6 @@ const clone = require('clone') -async function versionBump(bumpType, changelog, oldManifest) { +async function versionBump (bumpType, changelog, oldManifest) { const manifest = clone(oldManifest) const newVersion = newVersionFrom(manifest, bumpType) @@ -19,13 +19,13 @@ async function versionBump(bumpType, changelog, oldManifest) { return { version: newVersion, manifest: manifest, - changelog: logLines.join('\n') + changelog: logLines.join('\n'), } } function newVersionFrom (manifest, bumpType) { const string = manifest.version - let segments = string.split('.').map((str) => parseInt(str)) + const segments = string.split('.').map((str) => parseInt(str)) switch (bumpType) { case 'major': -- cgit v1.2.3 From 73b6d5ff95d8152641b206fb39d4fa95998bc192 Mon Sep 17 00:00:00 2001 From: brunobar79 Date: Mon, 2 Jul 2018 18:59:02 -0400 Subject: fix version-bump.js --- development/version-bump.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'development/version-bump.js') diff --git a/development/version-bump.js b/development/version-bump.js index 31d778b34..fa20e9f75 100644 --- a/development/version-bump.js +++ b/development/version-bump.js @@ -45,8 +45,4 @@ function newVersionFrom (manifest, bumpType) { return segments.map(String).join('.') } -function bumpManifest (manifest, bumpType) { - -} - module.exports = versionBump -- cgit v1.2.3