Skip to content

Commit 5c6cd11

Browse files
committed
Fix clean.sh
tsc doesn't check if the output exists when incremental is true. i.e if I delete the out directory, but keep the tsbuildinfo and try to rebuild, nothing happens cause it thinks everything is up to date I guess... With this change, yarn clean will now remove the tsbuildinfo correctly so things work as expected.
1 parent 6539dd4 commit 5c6cd11

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/build/clean.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ main() {
55
cd "$(dirname "${0}")/../.."
66
source ./ci/lib.sh
77

8-
rm -Rf \
8+
rm -rf \
99
out \
1010
release \
1111
release-standalone \
1212
release-packages \
1313
release-gcp \
14-
release-images/ \
14+
release-images \
1515
dist \
16-
.tsbuildinfo \
17-
.cache/out.tsbuildinfo
16+
.cache
1817

1918
pushd lib/vscode
2019
git clean -xffd

0 commit comments

Comments
 (0)