Skip to content

Commit

Permalink
mkdirSync can throw error. (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdctaka authored Nov 21, 2024
1 parent 96d71a4 commit 088478c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copyResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const outDir = path.join(projectRoot, 'out', 'src', 'resources');
const sourceFile = path.join(projectRoot, 'resources', 'component-experiences.yaml');
const destFile = path.join(outDir, 'component-experiences.yaml');

fs.mkdirSync(outDir);
fs.mkdirSync(outDir, { recursive: true });
fs.copyFileSync(sourceFile, destFile);

0 comments on commit 088478c

Please sign in to comment.