8000 chore: update commitlint · rahulyhg/nativescript-vue@4d78e5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d78e5d

Browse files
committed
chore: update commitlint
1 parent ebe19c0 commit 4d78e5d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"nativescript-hook": "0.2.4"
7171
},
7272
"devDependencies": {
73-
"@commitlint/cli": "^6.1.0",
74-
"@commitlint/config-conventional": "^6.1.0",
73+
"@commitlint/cli": "^7.5.2",
74+
"@commitlint/config-conventional": "^7.5.0",
7575
"babel-jest": "^22.1.0",
7676
"babel-plugin-transform-flow-strip-types": "^6.22.0",
7777
"babel-preset-env": "^1.6.1",

platform/nativescript/runtime/modules/transition.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ export function enter(vnode, toggleDisplay) {
7676

7777
const beforeEnterHook = isAppear ? beforeAppear || beforeEnter : beforeEnter
7878
const enterHook = isAppear
79-
? typeof appear === 'function'
80-
? appear
81-
: enter
79+
? typeof appear === 'function' ? appear : enter
8280
: enter
8381
const afterEnterHook = isAppear ? afterAppear || afterEnter : afterEnter
8482
const enterCancelledHook = isAppear

0 commit comments

Comments
 (0)
0