You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-07-19 09:45:30 -04:00
Use Object destructuring.
This commit is contained in:
@@ -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