Skip to content

Commit

Permalink
Make test app runnable on Windows #78 emotion-js/emotion#2725
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Apr 17, 2022
1 parent 7bd49d3 commit cd8fef9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/yarn_link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const commonThirdPartyDeps = (() => {

const yarnHomeDirPath = pathJoin(tssReactDirPath, ".yarn_home");

execSync(
["rm -rf", "mkdir"].map(cmd => `${cmd} ${yarnHomeDirPath}`).join(" && "),
);
fs.rmSync(yarnHomeDirPath, { "recursive": true, "force": true });

fs.mkdirSync(yarnHomeDirPath);

const execYarnLink = (params: { targetModuleName?: string; cwd: string }) => {
const { targetModuleName, cwd } = params;
Expand Down

0 comments on commit cd8fef9

Please sign in to comment.