Skip to content

Commit aa2d79b

Browse files
committed
node version + PR
1 parent 1c3699f commit aa2d79b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
language: node_js
22
node_js:
3-
- "8"
3+
- "10"

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "forge-apis",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"description": "The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.",
55
"license": "Apache-2.0",
66
"main": "src/index.js",
7+
"engines": {
8+
"node": ">= 10.12.0"
9+
},
710
"scripts": {
811
"test": "./node_modules/mocha/bin/mocha --colors --recursive --timeout 10000 ./test",
912
"test-oauth": "./node_modules/mocha/bin/mocha --colors --recursive --timeout 10000 ./test/auth",

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ module.exports = (function () {
413413
}
414414
});
415415
}, function (err) {
416-
throw new Error(err.toString);
416+
throw new Error(err.toString());
417417
});
418418
});
419419
};

0 commit comments

Comments
 (0)