Skip to content

Commit

Permalink
fix(create-webiny-project): remove redundant yarn set command
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Jan 6, 2024
1 parent 8e21370 commit 03e8e42
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/create-webiny-project/utils/createProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ module.exports = async function createProject({
const target = path.join(projectRoot, yarnReleasesFilePath);
fs.copyFileSync(source, target);

await execa("yarn", ["set", "version", yarnVersion], {
cwd: projectRoot
});

const yamlPath = path.join(projectRoot, ".yarnrc.yml");
if (!fs.existsSync(yamlPath)) {
fs.writeFileSync(yamlPath, `yarnPath: ${yarnReleasesFilePath}`, "utf-8");
Expand Down

0 comments on commit 03e8e42

Please sign in to comment.