Closed alete89 closed 3 years ago
:thinking:
i'm not sure this naive approach will work without mangling the file in more complex situations. i think the correct approach is to dedupe in the sort_requirements
function before it reassembles the file. i think this problem is less trivial to solve than it seems on the surface. portions of the original script may need to change to accommodate this behaviour. it should also definitely be behind a flag perhaps something like --remove-duplicates
.
I agree. I'll give it a new try later. Thanks.
thanks for attempting this! ill think about it some more and see if i can provide some better guidance on the original issue for an approach.
Naive approach that closes #6