mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-10-04 17:45:39 -04:00
Use Object destructuring.
This commit is contained in:
1 parent
fe5d9a0a52
commit
d5e5e6113f
3 files changed
+6
-5
No files matched your search
+1
-1
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user