From 5c6cd11836a18312acabe18bffdea3aed06b7358 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Wed, 26 Aug 2020 10:32:24 -0400 Subject: [PATCH] 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. --- ci/build/clean.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ci/build/clean.sh b/ci/build/clean.sh index aa7ddadc1..87e573c05 100755 --- a/ci/build/clean.sh +++ b/ci/build/clean.sh @@ -5,16 +5,15 @@ main() { cd "$(dirname "${0}")/../.." source ./ci/lib.sh - rm -Rf \ + rm -rf \ out \ release \ release-standalone \ release-packages \ release-gcp \ - release-images/ \ + release-images \ dist \ - .tsbuildinfo \ - .cache/out.tsbuildinfo + .cache pushd lib/vscode git clean -xffd