You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preProcessedFileSubstitution did not work correctly if an empty map was
given. In this case `variables["ACCESS_TOKEN"]` would be read as `""` as
that key was not present in the map, addtionally, it would be added.
Poco::replaceInPlace would in turn replace the `%ACCESS_TOKEN%` with `""`,
while it should just keep the not specified parts as is. On top op that,
now variables is modified so in the next iteration of the loop the test
is no longer the same.
I chose to add a function rather than ifs in the body to prevent future
mistakes from happening. This does however make the code more complex
I also made variables a const argument
Change-Id: 8d84961da571686c39effa6d5b43918151da1be4
Signed-off-by: Robbert Gurdeep Singh <[email protected]>
0 commit comments