Skip to content

Commit 96dfbd3

Browse files
authored
Check @deprecated format in JavaScript and TypeScript files too (#3)
Related to symfony/ux#3036 (comment)
1 parent a5f0faa commit 96dfbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fabbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
run: |
120120
# @deprecated annotations should mention ${{ inputs.package }}
121121
rm -rf b && cp -a a b && cd b
122-
find -name '*.php' \
122+
find -name '*.php' -o -name '*.js' -o -name '*.ts' \
123123
| while read -r FILE; do
124124
sed -i -E 's/(@deprecated since )([0-9])/\1${{ inputs.package }} \2/' "$FILE"
125125
done

0 commit comments

Comments
 (0)