Skip to content

Commit

Permalink
Fix copy destination for changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Liv Asch committed May 23, 2024
1 parent f5c9fec commit 58a101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/findChanges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const run = async () => {
changedSvgs.forEach((filePath) => {
const filename = filePath.slice(filePath.lastIndexOf('/'));
const srcPath = path.resolve('.', filePath);
const destPath = path.resolve(changesDir, filename);
const destPath = path.join(changesDir, filename);
fs.copyFileSync(srcPath, destPath);
});
};
Expand Down

0 comments on commit 58a101c

Please sign in to comment.