Skip to content

Commit

Permalink
chore: re-running prettier to fix failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Jul 9, 2021
1 parent 96ea0d8 commit 1e332be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmds/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ exports.run = async function (opts) {
files.map(async filename => {
const file = await readFile(path.join(folder, filename), 'utf8');
const matter = frontMatter(file);

// Stripping the subdirectories and markdown extension from the filename and lowercasing to get the default slug.
const slug = path.basename(filename).replace(path.extname(filename), '').toLowerCase();
const hash = crypto.createHash('sha1').update(file).digest('hex');
Expand Down

0 comments on commit 1e332be

Please sign in to comment.