Skip to content

Commit 5cdc9e2

Browse files
authored
[CI] Disable publishing failing scans (bis) (#21572)
#21528 did not work: failing scans are still published. This should fix it.
2 parents a440a23 + a59a4e6 commit 5cdc9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/cmdTests

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ cp tests/neg-macros/i6371/B_2.scala $OUT/B.scala
5757
rm $OUT/A.scala
5858
# this command is expected to fail
5959
# setting -Dscan=false disables publishing scans to develocity.scala-lang.org
60-
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala -Dscan=false" > "$tmp" 2>&1 || echo "ok"
60+
"$SBT" "scalac -classpath $OUT1 -d $OUT1 $OUT/B.scala" -Dscan=false > "$tmp" 2>&1 || echo "ok"
6161
# cat "$tmp" # for debugging
6262
grep -qe "B.scala:2:7" "$tmp"
6363
grep -qe "This location contains code that was inlined from A.scala:3" "$tmp"

0 commit comments

Comments
 (0)