diff --git a/elm-format-short.cabal b/elm-format-short.cabal index 872862cae..d881acb6e 100644 --- a/elm-format-short.cabal +++ b/elm-format-short.cabal @@ -1,5 +1,5 @@ Name: elm-format-short -version: 0.8.3 +version: 0.8.4 Synopsis: A source code short formatter for Elm diff --git a/package/npm/index.js b/package/npm/index.js index ba54e46b9..44dff3a74 100644 --- a/package/npm/index.js +++ b/package/npm/index.js @@ -2,7 +2,7 @@ var binwrap = require("binwrap"); var path = require("path"); var packageInfo = require(path.join(__dirname, "package.json")); -var binVersion = packageInfo.version.replace(/\.[0-9]*$/, ""); +var binVersion = packageInfo.version//.replace(/\.[0-9]*$/, ""); var root = "https://github.com/nukisman/elm-format-short/releases/download/" + binVersion + diff --git a/package/npm/package.json b/package/npm/package.json index d12ff843d..c817f30c8 100644 --- a/package/npm/package.json +++ b/package/npm/package.json @@ -1,6 +1,6 @@ { "name": "elm-format-short", - "version": "0.8.3", + "version": "0.8.4", "description": "Install elm-format-short", "preferGlobal": true, "main": "index.js",