Skip to content

Commit

Permalink
Merge pull request remoteintech#1344 from sandymcfadden/fix/marked-ca…
Browse files Browse the repository at this point in the history
…lls-after-update
  • Loading branch information
dougaitken authored Feb 5, 2022
2 parents 0e5e5a1 + cce5c06 commit 6e91aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ exports.parseFromDirectory = contentPath => {
}
} );

const $ = cheerio.load( marked( readmeMarkdown ) );
const $ = cheerio.load( marked.parse( readmeMarkdown ) );

function readmeError( msg, ...params ) {
error( 'README.md', msg, ...params );
Expand Down Expand Up @@ -371,7 +371,7 @@ exports.parseFromDirectory = contentPath => {
path.join( profilesPath, filename ),
'utf8'
) );
const $ = cheerio.load( marked( profileMarkdown ) );
const $ = cheerio.load( marked.parse( profileMarkdown ) );

let hasTitleError = false;

Expand Down

0 comments on commit 6e91aac

Please sign in to comment.