Skip to content

Commit

Permalink
fix build docs git add
Browse files Browse the repository at this point in the history
  • Loading branch information
Lam, Anson committed Dec 16, 2021
1 parent 27a369c commit 3bb44b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/build-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module.exports = {
};
const output = await jsdocToMd.render(cfg);
await writeFile(readmePath, output, 'utf8');
await $`git add ./README.md`;
const cli = path.relative(process.cwd(), path.resolve(__dirname, '../../bin/cli.js'));
await $`${cli} prettier`;
await $`git add ./README.md`;
}
};

0 comments on commit 3bb44b8

Please sign in to comment.