From 699f26bdaf9df22e9a64ba20e3e9d0301a62a7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Israel=20Ortiz=20Garc=C3=ADa?= Date: Mon, 10 Jul 2023 14:05:56 -0700 Subject: [PATCH] Remove README symlink when cloning sass/sass. Workaround for shelljs issue in Windows: https://github.com/shelljs/shelljs/issues/198 --- tool/get-language-repo.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tool/get-language-repo.ts b/tool/get-language-repo.ts index e01c816a..83a264b8 100644 --- a/tool/get-language-repo.ts +++ b/tool/get-language-repo.ts @@ -27,13 +27,13 @@ export async function getLanguageRepo( } else { await utils.cleanDir('build/sass'); await utils.link(options.path, 'build/sass'); - - // Workaround for https://github.com/shelljs/shelljs/issues/198 - // This file is a symlink which gets messed up by `shell.cp` (called from - // `utils.link`) on Windows. - shell.rm('build/sass/spec/README.md'); } + // Workaround for https://github.com/shelljs/shelljs/issues/198 + // This file is a symlink which gets messed up by `shell.cp` (called from + // `utils.link`) on Windows. + shell.rm('build/sass/spec/README.md'); + await utils.link('build/sass/js-api-doc', p.join(outPath, 'sass')); buildEmbeddedProtocol();