Skip to content

Commit 669968e

Browse files
authored
chore: Update travis check node 12 LTS (iamkun#847)
1 parent ee61a69 commit 669968e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
],
3939
"import/extensions": [
4040
2,
41-
"ignorePackages"
41+
"never"
4242
]
4343
}
44-
}
44+
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cache:
44
- ~/.npm
55
- node_modules
66
node_js:
7+
- '12'
78
- '10'
89
- '8'
910
- '6'

test/locale/zh.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import dayjs from '../../src'
22
import advancedFormat from '../../src/plugin/advancedFormat'
33
import weekOfYear from '../../src/plugin/weekOfYear'
4-
import '../../src/locale/zh.js'
5-
import '../../src/locale/zh-cn.js'
4+
import '../../src/locale/zh'
5+
import '../../src/locale/zh-cn'
66

77
dayjs.extend(advancedFormat).extend(weekOfYear)
88

0 commit comments

Comments
 (0)