Use Object destructuring.

This commit is contained in:
XhmikosR authored and Shun Sato committed 2018-12-17 23:14:23 +09:00
1 parent fe5d9a0a52
commit d5e5e6113f
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ const BinWrapper = require('bin-wrapper');
const pkgConf = require('pkg-conf');
const pkg = require('../package');
const hugoVersion = pkg.hugoVersion;
const { hugoVersion } = pkg;
const baseUrl = `https://github.com/gohugoio/hugo/releases/download/v${hugoVersion}/`;
const binNameMap = {