Skip to content

Commit 41a1bc1

Browse files
committed
fix lint action
1 parent 62d9dba commit 41a1bc1

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/eslint.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ESLint CodeX
22

3-
on: [pull_request]
3+
on: [push, pull_request]
44

55
jobs:
66
lint:
@@ -9,15 +9,13 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111

12-
- name: Cache node modules
13-
uses: actions/cache@v1
12+
- name: Cache dependencies
13+
uses: actions/cache@v2
1414
with:
15-
path: node_modules
15+
path: ~/.npm
1616
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
1717
restore-keys: |
18-
${{ runner.OS }}-build-${{ env.cache-name }}-
19-
${{ runner.OS }}-build-
20-
${{ runner.OS }}-
18+
${{ runner.os }}-node-
2119
2220
- run: yarn
2321
- run: yarn lint

src/components/flipper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export default class Flipper {
213213
* Allows to select next/prev lines of text using keyboard
214214
*/
215215
if (isShiftKey === true) {
216-
return;
216+
// return;
217217
}
218218

219219
/**

0 commit comments

Comments
 (0)