Skip to content

Commit

Permalink
Merge pull request #68 from kronn/remove-whitespace-in-template
Browse files Browse the repository at this point in the history
Change whitespace, indentation or line-breaks
  • Loading branch information
DannyBen authored May 21, 2024
2 parents c65bb2e + e52b319 commit a0c3a62
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/completely/templates/template.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/generated-script
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _mygit_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/generated-script-alt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _mycomps_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/generated-wrapped-script
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ give_comps() {
echo $''
echo $' if [[ "${cur:0:1}" == "-" ]]; then'
echo $' echo "$words"'
echo $' '
echo $''
echo $' else'
echo $' for word in $words; do'
echo $' [[ "${word:0:1}" != "-" ]] && result+=("$word")'
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/test/completely-tester-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _mygit_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/test/completely-tester-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _mygit_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/cli/test/completely-tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _mygit_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/completions/function
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ send_completions() {
echo $''
echo $' if [[ "${cur:0:1}" == "-" ]]; then'
echo $' echo "$words"'
echo $' '
echo $''
echo $' else'
echo $' for word in $words; do'
echo $' [[ "${word:0:1}" != "-" ]] && result+=("$word")'
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/completions/script
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _completely_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/completions/script-only-spaces
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _completely_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/completions/script-with-debug
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _completely_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/tester/default.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _cli_completions_filter() {

if [[ "${cur:0:1}" == "-" ]]; then
echo "$words"

else
for word in $words; do
[[ "${word:0:1}" != "-" ]] && result+=("$word")
Expand Down

0 comments on commit a0c3a62

Please sign in to comment.