Skip to content

Commit 314e1b6

Browse files
committed
Fix version string test and lint config
1 parent 0339808 commit 314e1b6

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

.eslintrc.js

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
module.exports = {
2-
"env": {
3-
"es6": true,
4-
"node": true
5-
},
6-
"parserOptions": {
7-
"ecmaVersion": 2018,
8-
"sourceType": "module",
9-
},
10-
"extends": "eslint:recommended",
11-
"rules": {
12-
"indent": [
13-
"error",
14-
2
15-
],
16-
"quotes": [
17-
"error",
18-
"single"
19-
],
20-
"semi": [
21-
"error",
22-
"always"
23-
],
24-
"no-console": "off",
25-
"prefer-arrow-callback": "error"
26-
}
2+
'env': {
3+
'es6': true,
4+
'node': true
5+
},
6+
'parserOptions': {
7+
'ecmaVersion': 2018,
8+
'sourceType': 'module',
9+
},
10+
'extends': 'eslint:recommended',
11+
'rules': {
12+
'indent': [
13+
'error',
14+
2
15+
],
16+
'quotes': [
17+
'error',
18+
'single'
19+
],
20+
'semi': [
21+
'error',
22+
'always'
23+
],
24+
'no-console': 'off',
25+
'prefer-arrow-callback': 'error'
26+
}
2727
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "beamcoder",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Node.js native bindings to FFmpeg.",
55
"main": "index.js",
66
"types": "index.d.ts",

test/introspectionSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const test = require('tape');
2323
const beamcoder = require('../index.js');
2424

2525
test('Version information', t => {
26-
t.equals(beamcoder.avVersionInfo().slice(0, 2), '4.', 'has expected version number.');
26+
t.equals(beamcoder.avVersionInfo().slice(1, 3), '4.', 'has expected version number.');
2727
t.equals(typeof beamcoder.versions(), 'object', 'versions is an object.');
2828
t.equals(Object.keys(beamcoder.versions()).length, 8, 'versions has 8 entries.');
2929
t.ok(Object.values(beamcoder.versions()).every(x => typeof x === 'number' && x > 0),

0 commit comments

Comments
 (0)