Skip to content

Commit

Permalink
fix parent file path
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed Jan 23, 2023
1 parent c3a40c9 commit 62b4d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ exports.publish = function (taffyData, opts, tutorials) {
);

extraStaticFiles.forEach((fileName) => {
const toPath = sourceToDestination(fromDir, fileName, outdir);
const toPath = sourceToDestination(filePath, fileName, outdir);

mkdirSync(path.dirname(toPath));
fs.copyFileSync(fileName, toPath);
Expand Down

1 comment on commit 62b4d8f

@ankitskvmdam
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes: #185

Please sign in to comment.