Skip to content

Commit caefe3c

Browse files
Further review updates
Remove ESLint from package.json Fix shadowing of error parameter
1 parent 7719790 commit caefe3c

2 files changed

Lines changed: 2 additions & 51 deletions

File tree

package.json

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -38,54 +38,5 @@
3838
"sprintf-js": "^1.1.3",
3939
"tmp": "^0.2.5"
4040
},
41-
"sideEffects": false,
42-
"eslintConfig": {
43-
"env": {
44-
"browser": true,
45-
"es6": true,
46-
"node": true,
47-
"worker": true
48-
},
49-
"extends": "eslint:recommended",
50-
"rules": {
51-
"indent": [
52-
"error",
53-
4,
54-
{
55-
"SwitchCase": 1
56-
}
57-
],
58-
"linebreak-style": [
59-
"error",
60-
"unix"
61-
],
62-
"no-console": 0,
63-
"no-empty": [
64-
2,
65-
{
66-
"allowEmptyCatch": true
67-
}
68-
],
69-
"no-unused-vars": [
70-
2,
71-
{
72-
"args": "none"
73-
}
74-
],
75-
"semi": [
76-
"error",
77-
"always"
78-
]
79-
},
80-
"overrides": [
81-
{
82-
"files": [
83-
"test/**/*.test.js"
84-
],
85-
"env": {
86-
"jest": true
87-
}
88-
}
89-
]
90-
}
41+
"sideEffects": false
9142
}

src/ldo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ const luaD_rawrunprotected = function(L, f, ud) {
424424
}
425425

426426
lj.status = LUA_ERRRUN;
427-
} catch (e) {
427+
} catch (e2) {
428428
if (lj.status === LUA_OK) {
429429
/* also failed */
430430
lj.status = -1;

0 commit comments

Comments
 (0)