We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277521c commit 1197462Copy full SHA for 1197462
1 file changed
src/helpers.sh
@@ -184,7 +184,10 @@ function helper::get_function_categories() {
184
fi
185
186
local line_number
187
- line_number=$(grep -n -m1 -E "^[[:space:]]*(function[[:space:]]+)?${function_name}[[:space:]]*\(" "$script" | cut -d: -f1)
+ line_number=$(
188
+ grep -n -m1 -E "^[[:space:]]*(function[[:space:]]+)?${function_name}[[:space:]]*\(" \
189
+ "$script" | cut -d: -f1
190
+ )
191
if [[ -z $line_number ]]; then
192
return
193
0 commit comments