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

fix(autocomplete): add basename arg for custom path #3829

Merged
merged 3 commits into from
May 27, 2024

Conversation

Laure-di
Copy link
Contributor

close #3676
close #1959

@Laure-di Laure-di force-pushed the fix/autocomplete-basename-args branch from c0b72ae to ee47af4 Compare May 23, 2024 15:02
@Laure-di Laure-di changed the title Fix/autocomplete basename args fix(autocomplete): add basename arg for custom path May 23, 2024
Codelax
Codelax previously approved these changes May 23, 2024
func autocompleteScripts(ctx context.Context) map[string]autocompleteScript {
binaryName := core.ExtractBinaryName(ctx)
func autocompleteScripts(ctx context.Context, basename string) map[string]autocompleteScript {
binaryName := basename
Copy link
Member

Choose a reason for hiding this comment

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

why not use binaryName as function argument ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good question, because the arg is call basename but I can change it to binaryName

@Codelax Codelax self-requested a review May 23, 2024 15:51
@Codelax Codelax dismissed their stale review May 23, 2024 15:51

Added comment

@Laure-di Laure-di force-pushed the fix/autocomplete-basename-args branch from decbebf to d3885dd Compare May 27, 2024 08:28
@Laure-di Laure-di force-pushed the fix/autocomplete-basename-args branch from d3885dd to 53d15c3 Compare May 27, 2024 08:31
@Codelax Codelax added this pull request to the merge queue May 27, 2024
Merged via the queue into scaleway:master with commit 8d8af37 May 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants