Skip to content

Commit aecc68e

Browse files
committed
fix CompletionsFunction comment to be hidden
1 parent cbba58c commit aecc68e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/completions/src/lib/send_completions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [@bashly-upgrade completions send_completions]
1+
## [@bashly-upgrade completions send_completions]
22
send_completions() {
33
echo $'#!/usr/bin/env bash'
44
echo $''

lib/bashly/libraries/completions_function.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def function_name
2828

2929
def completions_function_code(function_name)
3030
[
31-
"# [@bashly-upgrade completions #{function_name}]",
31+
"## [@bashly-upgrade completions #{function_name}]",
3232
command.completion_function(function_name)
3333
].join "\n"
3434
end

spec/approvals/cli/add/comp-function-file

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [@bashly-upgrade completions send_completions]
1+
## [@bashly-upgrade completions send_completions]
22
send_completions() {
33
echo $'#!/usr/bin/env bash'
44
echo $''

spec/approvals/libraries/completions_function/files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- :path: spec/tmp/src/lib/send_completions.sh
33
:content: |-
4-
# [@bashly-upgrade completions send_completions]
4+
## [@bashly-upgrade completions send_completions]
55
send_completions() {
66
echo $'#!/usr/bin/env bash'
77
echo $''

0 commit comments

Comments
 (0)