File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,15 @@ for __go_module_name in "$@"; do
8585 if [[ ! -f " $__go_module_file " ]]; then
8686 # Convert <plugin>/<module> to plugins/<plugin>/lib/<module>
8787 __go_module_file=" $_GO_SCRIPTS_DIR /plugins/${__go_module_name/ \/ // lib/ } "
88- fi
89- if [[ ! -f " $__go_module_file " ]]; then
90- __go_module_file=" $_GO_SCRIPTS_DIR /lib/$__go_module_name "
91- fi
92- if [[ ! -f " $__go_module_file " ]]; then
93- @go.printf " ERROR: Unknown module: $__go_module_name " >&2
94- exit 1
88+
89+ if [[ ! -f " $__go_module_file " ]]; then
90+ __go_module_file=" $_GO_SCRIPTS_DIR /lib/$__go_module_name "
91+
92+ if [[ ! -f " $__go_module_file " ]]; then
93+ @go.printf " ERROR: Unknown module: $__go_module_name " >&2
94+ exit 1
95+ fi
96+ fi
9597 fi
9698
9799 if ! . " $__go_module_file " ; then
You can’t perform that action at this time.
0 commit comments