From 8c3e76fae426de878fb90e1a85260916b5fdfd49 Mon Sep 17 00:00:00 2001 From: Daniel Choudhury Date: Tue, 2 Mar 2021 17:15:52 +0000 Subject: [PATCH] PR Review comments --- tasks/test-tutorial.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tasks/test-tutorial.js b/tasks/test-tutorial.js index c7af4319d298..cd65147e33e2 100644 --- a/tasks/test-tutorial.js +++ b/tasks/test-tutorial.js @@ -26,7 +26,7 @@ const testTutorial = async () => { if (pathToProject) { console.log( - `\n 🗂️ You have supplied a path ${projectPath}, we will not create a new ` + `\n 🗂️ You have supplied the path ${projectPath}, we will not create a new ` ) console.log('Redwood project, we will use the app you have specified.') } else { @@ -60,11 +60,7 @@ const testTutorial = async () => { const packagesPath = path.join(frameworkPath, 'packages') // Link packages from framework - await execa(`ln -s ${packagesPath} ./packages`, { - shell: true, - stdio: 'inherit', - cwd: projectPath, - }) + fs.symlinkSync(packagesPath, path.join(projectPath, 'packages')) await execa('yarn install', { shell: true,