Skip to content

Commit

Permalink
Merge pull request #235 from oceanbase/dengfuping-dev
Browse files Browse the repository at this point in the history
fix(codemod): file path should be correct
  • Loading branch information
dengfuping authored Oct 29, 2023
2 parents cad5472 + 454be20 commit 7230610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/codemod/transforms/less-to-token.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function lessToToken(file) {
const allLessFiles = findAllLessFiles(file);
for await (const item of allLessFiles) {
const content = await transform(item);
fs.writeFileSync(file, content);
fs.writeFileSync(item, content);
}
}

Expand Down

0 comments on commit 7230610

Please sign in to comment.