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 fe6fcb6 commit 0fd070cCopy full SHA for 0fd070c
bin/task
@@ -30,8 +30,7 @@ if [[ -z "$TASKFILE" ]]; then
30
fi
31
32
if [[ $1 == 'comp_targets' ]]; then
33
- awk 'BEGIN {FS = " { [#][#][ ]?"} /^function task([a-zA-Z_-]*:?.*)(\{ )?[#][#][ ]?/ {printf "%s:%s\n", $1, $2}' \
34
- "$TASKFILE" \
+ awk 'BEGIN {FS = " { [#][#][ ]?"} /^function task:(.*)[#][#][ ]?/ {printf "%s:%s\n", $1, $2}' "$TASKFILE" \
35
| sed -E 's/[#]{2,}[ ]*//g' \
36
| sed -E 's/function task://g'
37
exit 1
0 commit comments