-
Notifications
You must be signed in to change notification settings - Fork 369
923 refactoring #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
923 refactoring #926
Conversation
|
While true, it is not really an issue as the classes that use I don't have a big concern but I don't think was needed.
|
|
It's true that the original fix was fine given all the calls made to |
|
@scriptcs/core does anyone fancy merging this? Are there any concerns? It should be quite quick to review if you take one commit at a time. |
|
woot! thanks @khellang |
This is a refactoring of the changes in #923 which fixed #922.
Whilst that PR fixed the bug and allowed us to ship 0.13.2, I was quite uncomfortable leaving
AssemblyUtility.IsManagedAssembly()returningtruewhenever the the path passed to it isn't rooted and doesn't end in 'dll' or 'exe'. For instance, I could pass"ThisDoesNotExist.txt"into it and it would returntrue.In this PR I've reverted
AssemblyUtilityand instead changedPackageAssemblyResolverto filter out unmanaged assemblies from the list returned fromIPackageObject.GetCompatibleDlls()before concatenating them withIPackageObject.FrameworkAssemblies.IMO the quickest way to review this PR is one commit at a time.