Commits on Source 3
-
Daniel Silverstone authored
We were unconditionally inserting into the yaml cache anything we had retrieved from the yaml cache. This had the side-effect of being expensive on re-runs of commands where yaml hadn't changed. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Jonathan Maw authored
_yaml.py: Do not insert into cache if retrieved from cache See merge request !902
-
Currently we would make sure the sandbox had a command before converting it to a list if it was given as a string. That meant that a string command would never exist and the check be invalid. This also adds the same logic in the dummy sandbox for consistency.