Skip to content

Commit 42e9c8a

Browse files
committed
fix
1 parent 8221338 commit 42e9c8a

File tree

2 files changed

+3
-43
lines changed

2 files changed

+3
-43
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
node-version: 18.x
6363
- name: pnpm install, build,
6464
run: |
65-
mkdir ~/.ssh
66-
ssh-keyscan github.com >> ~/.ssh/known_hosts
6765
pnpm install
6866
env:
6967
CI: true
@@ -87,6 +85,8 @@ jobs:
8785
set -e
8886
version=$(cat package.json | jq -r '.version')
8987
TAG=v$version
88+
mkdir ~/.ssh
89+
ssh-keyscan github.com >> ~/.ssh/known_hosts
9090
git fetch --unshallow
9191
git fetch --all --tags
9292
if git rev-parse "$TAG" >/dev/null 2>&1; then

test-projects/gts/result.txt

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -88,46 +88,6 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/c
8888
42 | </:options>
8989

9090

91-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/destructure-to-array.gts:5:11:
92-
3 | export class DeconstructArray extends Component<unknown> {
93-
4 | testFunction = async () => {
94-
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
95-
| ^
96-
6 | return remaining;
97-
7 | }
98-
8 |
99-
100-
101-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/destructure-to-array.gts:5:36:
102-
3 | export class DeconstructArray extends Component<unknown> {
103-
4 | testFunction = async () => {
104-
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
105-
| ^
106-
6 | return remaining;
107-
7 | }
108-
8 |
109-
110-
111-
error: Unsafe member access .all on an `any` value (@typescript-eslint/no-unsafe-member-access) at src/destructure-to-array.gts:5:44:
112-
3 | export class DeconstructArray extends Component<unknown> {
113-
4 | testFunction = async () => {
114-
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
115-
| ^
116-
6 | return remaining;
117-
7 | }
118-
8 |
119-
120-
121-
error: Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return) at src/destructure-to-array.gts:6:5:
122-
4 | testFunction = async () => {
123-
5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
124-
> 6 | return remaining;
125-
| ^
126-
7 | }
127-
8 |
128-
9 | <template>
129-
130-
13191
error: Non-translated string used (ember-template-lint/no-bare-strings) at src/destructure-to-array.gts:9:13:
13292
7 | }
13393
8 |
@@ -208,4 +168,4 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/p
208168
14 |
209169

210170

211-
21 errors found.
171+
17 errors found.

0 commit comments

Comments
 (0)