diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-04 21:19:35 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-04 21:43:51 +0300 |
| commit | 8e3e35befd0a77255deaef17c28453d79d2bacfa (patch) | |
| tree | 9991c3ee3ae5747ef2b47aeb2c9761ff9488c966 /operators | |
| parent | f1a0cf6b5aa1cb13f93dcfe72ffd0ba42faf3e8a (diff) | |
*/*: Refactor source execution
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'operators')
| -rw-r--r-- | operators/callback_help.zsh | 2 | ||||
| -rw-r--r-- | operators/callback_ping.zsh | 2 | ||||
| -rw-r--r-- | operators/command_help.zsh | 2 | ||||
| -rw-r--r-- | operators/command_ping.zsh | 2 | ||||
| -rw-r--r-- | operators/inline_help.zsh | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/operators/callback_help.zsh b/operators/callback_help.zsh index e1a3cce..467c38d 100644 --- a/operators/callback_help.zsh +++ b/operators/callback_help.zsh @@ -43,5 +43,5 @@ then )" else output_text="${help_general}" - . "${units}/help.zsh" + source "${units}/help.zsh" fi diff --git a/operators/callback_ping.zsh b/operators/callback_ping.zsh index 2a3c541..cce0142 100644 --- a/operators/callback_ping.zsh +++ b/operators/callback_ping.zsh @@ -58,4 +58,4 @@ then return fi -. "${units}/ping.zsh" +source "${units}/ping.zsh" diff --git a/operators/command_help.zsh b/operators/command_help.zsh index ec298bc..bfc1cbb 100644 --- a/operators/command_help.zsh +++ b/operators/command_help.zsh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 output_text="${help_general}" -. "${units}/help.zsh" +source "${units}/help.zsh" link_preview_options="$( jq --null-input --compact-output \ diff --git a/operators/command_ping.zsh b/operators/command_ping.zsh index bd45bab..8b631f3 100644 --- a/operators/command_ping.zsh +++ b/operators/command_ping.zsh @@ -60,7 +60,7 @@ then fi message_id="$(jq -r '.result.message_id' <<< "${output_data}")" -. "${units}/ping.zsh" +source "${units}/ping.zsh" if ! output_data="$( curl --connect-timeout ${connrefused_timeout} \ diff --git a/operators/inline_help.zsh b/operators/inline_help.zsh index a115de4..0b267d5 100644 --- a/operators/inline_help.zsh +++ b/operators/inline_help.zsh @@ -15,7 +15,7 @@ results="$( '[{"type": "article", "id": $id, "title": $title, "input_message_content": {"message_text": $text, "parse_mode": "HTML", "link_preview_options": {"is_disabled": true}}, "description": $description}]' )" -. "${units}/help.zsh" +source "${units}/help.zsh" if [[ -n "${reply_markup}" ]] then |
