In LinkedIn build, the new triggerCheck test has two Download ... statements.
Because this was replaceFirst it only removed the first one, throwing an error for the second. This change should fix this and is more in line with the intent of the method (in my opinion).
Tested locally (manually injecting the Download ... statements) and it worked. Will try launching another build to confirm after this is merged.
In LinkedIn build, the new
triggerCheck
test has twoDownload ...
statements.Because this was
replaceFirst
it only removed the first one, throwing an error for the second. This change should fix this and is more in line with the intent of the method (in my opinion).Tested locally (manually injecting the
Download ...
statements) and it worked. Will try launching another build to confirm after this is merged.