The reason why it wasn't working before is that I was using the wrong shrinkwrap object, one that contained the previous dependencies, so it wasn't creating the new symlink.
I've also added a check so that it doesn't even start flattening after an install if there were no changes.
The reason why it wasn't working before is that I was using the wrong shrinkwrap object, one that contained the previous dependencies, so it wasn't creating the new symlink.
I've also added a check so that it doesn't even start flattening after an install if there were no changes.