Skip to content
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

#import bug #3292

Merged
merged 1 commit into from
Nov 2, 2023
Merged

#import bug #3292

merged 1 commit into from
Nov 2, 2023

Conversation

colombod
Copy link
Member

@colombod colombod commented Oct 30, 2023

Addressing issue #3286

@colombod colombod added the bug Something isn't working label Oct 30, 2023
@shyamnamboodiripad shyamnamboodiripad marked this pull request as ready for review October 30, 2023 16:53
@shyamnamboodiripad shyamnamboodiripad marked this pull request as draft October 30, 2023 16:53
@colombod colombod force-pushed the import_bug branch 2 times, most recently from 25f5ba5 to 83fac04 Compare November 2, 2023 14:06
@colombod colombod marked this pull request as ready for review November 2, 2023 14:06
@colombod colombod enabled auto-merge (rebase) November 2, 2023 14:06
@@ -110,7 +111,8 @@ public static TKernel UseImportMagicCommand<TKernel>(this TKernel kernel)

public static async Task LoadAndRunInteractiveDocument(
this Kernel kernel,
FileInfo file)
FileInfo file,
KernelCommand parentCommand)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be optional. There won't always be a parent command for this method, e.g. in automation scenarios.

make import extension use current command as parent.

remove code

restore comparer

make parameter optional

change to api contract
@colombod colombod merged commit dc124d1 into dotnet:main Nov 2, 2023
4 checks passed
@colombod colombod deleted the import_bug branch November 2, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants