mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Remove "v" prefix from version.
This commit is contained in:
@@ -13,7 +13,7 @@ var basePath = path.join(__dirname, '..', '..'),
|
|||||||
function build(type) {
|
function build(type) {
|
||||||
var $ = marky(fs.readFileSync(readmePath, 'utf8'), { 'sanitize': false }),
|
var $ = marky(fs.readFileSync(readmePath, 'utf8'), { 'sanitize': false }),
|
||||||
$header = $('h1').first().remove(),
|
$header = $('h1').first().remove(),
|
||||||
version = _.trim($header.find('span').first().text());
|
version = _.trim($header.find('span').first().text()).slice(1);
|
||||||
|
|
||||||
$('[id^="user-content-"]')
|
$('[id^="user-content-"]')
|
||||||
.attr('class', null)
|
.attr('class', null)
|
||||||
|
|||||||
Reference in New Issue
Block a user