Skip to content

Commit

Permalink
Ensure yuiDocOutputPath exists
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Feb 29, 2024
1 parent d6b57e0 commit d79cdf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/parsers/reference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const getYuidocOutput = async (): Promise<ParsedLibraryReference | null> => {
export const saveYuidocOutput = async () => {
console.log("Running YUIDoc command and capturing output...");
try {
await mkdir(yuidocOutputPath, { recursive: true });
await new Promise((resolve, reject) => {
exec(`yuidoc -p --outdir ${yuidocOutputPath}`, (error, stdout) => {
if (error) {
Expand Down

0 comments on commit d79cdf5

Please sign in to comment.