Skip to content

Commit acfb215

Browse files
authored
Remove README symlink when cloning sass/sass. (#239)
Workaround for shelljs issue in Windows: shelljs/shelljs#198
1 parent 3049867 commit acfb215

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tool/get-language-repo.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ export async function getLanguageRepo(
2727
} else {
2828
await utils.cleanDir('build/sass');
2929
await utils.link(options.path, 'build/sass');
30-
31-
// Workaround for https://github.com/shelljs/shelljs/issues/198
32-
// This file is a symlink which gets messed up by `shell.cp` (called from
33-
// `utils.link`) on Windows.
34-
shell.rm('build/sass/spec/README.md');
3530
}
3631

32+
// Workaround for https://github.com/shelljs/shelljs/issues/198
33+
// This file is a symlink which gets messed up by `shell.cp` (called from
34+
// `utils.link`) on Windows.
35+
shell.rm('build/sass/spec/README.md');
36+
3737
await utils.link('build/sass/js-api-doc', p.join(outPath, 'sass'));
3838

3939
buildEmbeddedProtocol();

0 commit comments

Comments
 (0)