Skip to content

Commit

Permalink
fix: typo in prefer typescript (apache#10959)
Browse files Browse the repository at this point in the history
Prefer TypeScript has stopped working since apache#10170 because of a [typo](https://github.com/apache/incubator-superset/pull/10170/files#diff-0f1a9bbd1316e385c51f8aba1583bd99R24) in `jq` script.

Also fix the `trilom/file-changes-action` GH Action version so the process can be more predictable.
  • Loading branch information
ktmud authored and auxten committed Nov 20, 2020
1 parent 3c659ca commit f8240a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/prefer-typescript.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Get changed files
id: changed
uses: trilom/file-changes-action@master
uses: trilom/file-changes-action@v1.2.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -21,7 +21,9 @@ jobs:
js_files_added() {
jq -r '
map(
select((endswith(".js") or endswith(".jsx"))
select(
endswith(".js") or endswith(".jsx")
)
) | join("\n")
' ${HOME}/files_added.json
}
Expand Down

0 comments on commit f8240a7

Please sign in to comment.