Skip to content

Commit aabc60c

Browse files
committed
Remove outdated FilePath Patch
1 parent e19c36a commit aabc60c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

patchright_nodejs_rebranding.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,6 @@ fs.rename("packages/playwright-core", "packages/patchright-core", (err) => {
239239
});
240240
});
241241

242-
// Some random path which is easier to just replace manually than with ts-morph/AST
243-
fs.readFile("packages/patchright/lib/transform/esmUtils.js", "utf8", (err, data) => {
244-
const updatedContent = data.replace(/playwright\/lib\/transform\/esmLoader/g, 'patchright/lib/transform/esmLoader');
245-
fs.writeFile("packages/patchright/lib/transform/esmUtils.js", updatedContent, 'utf8', (err) => {});
246-
});
247-
248242
// Usage example: pass the directory path as an argument
249243
renameImportsAndExportsInDirectory("packages/patchright");
250244
})

0 commit comments

Comments
 (0)