Skip to content

Commit f107d6f

Browse files
committedOct 29, 2021
Fix
1 parent 119eab2 commit f107d6f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ branches:
77
language: node_js
88
node_js:
99
- stable
10-
- lts
10+
- "--lts"
1111
env:
1212
global:
1313
- CC_TEST_REPORTER_ID=b62b383f834fc3519bc3f7655c3307de6056aa18487302c1a89bdde5b0653557

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"esnext": true,
5757
"ignores": [
5858
"index.js",
59-
"index.mjs",
59+
"index.d.ts",
6060
"lib/**",
6161
"docs/**",
6262
"test/coverage/**"
@@ -122,4 +122,4 @@
122122
]
123123
]
124124
}
125-
}
125+
}

‎test/main.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ const expectedVersion = pkg.version
88

99
const bin = pkg.bin ? Object.keys(pkg.bin)[0] : 'none'
1010

11-
let copyright = pkg.copyright ? pkg.copyright :
12-
${new Date().getFullYear()} ${pkg.author.name}`
11+
let copyright = pkg.copyright
12+
? pkg.copyright
13+
: ${new Date().getFullYear()} ${pkg.author.name}`
1314

1415
if (pkg.copyright && pkg.copyright.year) {
1516
copyright = ${pkg.copyright.year} ${pkg.copyright.owner}`

0 commit comments

Comments
 (0)
Please sign in to comment.