Skip to content

Commit a3ad30f

Browse files
chore: fix commands
1 parent 8d2b397 commit a3ad30f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lint": "yarn eslint && yarn prettier",
1616
"pretest": "yarn lint",
1717
"test": "jest --coverage",
18-
"autotest": "chokidar src/index.js test/test.js -c 'yarn test'",
18+
"autotest": "jest --coverage --watch",
1919
"cover": "istanbul cover test/index.js",
2020
"ci": "yarn pretest && yarn cover",
2121
"prepublishOnly": "yarn test"

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ module.exports = (options = {}) => {
137137

138138
if (importsOrder instanceof Error) {
139139
const importPath = importsOrder.nodes.find((importPath) =>
140+
// eslint-disable-next-line no-prototype-builtins
140141
importDecls.hasOwnProperty(importPath)
141142
);
142143
const decl = importDecls[importPath];

0 commit comments

Comments
 (0)