Skip to content

Commit a4efccf

Browse files
committed
modified bashly to avoid conflict with run() function from another bash framework
1 parent a3075a0 commit a4efccf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/bashly/views/command/master_script.gtx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
if Settings.enabled? :sourcing
1717
> if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
1818
> initialize
19-
> run "$@"
19+
> {{ function_name }}_run "$@"
2020
> fi
2121
else
2222
> initialize
23-
> run "$@"
23+
> {{ function_name }}_run "$@"
2424
end
2525
>

lib/bashly/views/command/run.gtx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= view_marker
22

3-
> run() {
3+
> {{ function_name }}_run() {
44
= render(:globals).indent(2)
55
>
66
> normalize_input "$@"

0 commit comments

Comments
 (0)