From 2733ab66850414cbb9cac0e256005694f883e11a Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 20 Jun 2018 13:45:48 +0200 Subject: [PATCH] Remove brackets --- bump.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bump.js b/bump.js index 1bd218c..0c70b87 100644 --- a/bump.js +++ b/bump.js @@ -35,10 +35,10 @@ function bump(jsonPath, incrementType) { let newVersion switch (incrementType) { case 'major': - newVersion = `${bumped}.0.0}` + newVersion = `${bumped}.0.0` break case 'minor': - newVersion = `${oldVersion[0]}.${bumped}.0}` + newVersion = `${oldVersion[0]}.${bumped}.0` break case 'patch': newVersion = `${oldVersion[0]}.${oldVersion[1]}.${bumped}`