We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aaa02a commit 2f1c2e3Copy full SHA for 2f1c2e3
1 file changed
melting-pot.sh
@@ -706,6 +706,10 @@ deps=$(grep "^\[INFO\] " "$buildLog" |
706
sort | tr '\n' ',')
707
if [ -z "$(containsLine "$deps" "$successLog")" ]
708
then
709
+ # NB: *Prepend*, rather than append, the new successful configuration.
710
+ # We do this because it is more likely this new configuration will be
711
+ # encountered again in the future, as dependency versions are highly
712
+ # likely to repeatedly increment, rather than moving backwards.
713
echo "$deps" > "$successLog".new
714
test -f "$successLog" && cat "$successLog" >> "$successLog".new
715
mv -f "$successLog".new "$successLog"
0 commit comments