Skip to content

Commit

Permalink
chore: fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 21, 2020
1 parent 8d2b397 commit a3ad30f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "yarn eslint && yarn prettier",
"pretest": "yarn lint",
"test": "jest --coverage",
"autotest": "chokidar src/index.js test/test.js -c 'yarn test'",
"autotest": "jest --coverage --watch",
"cover": "istanbul cover test/index.js",
"ci": "yarn pretest && yarn cover",
"prepublishOnly": "yarn test"
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ module.exports = (options = {}) => {

if (importsOrder instanceof Error) {
const importPath = importsOrder.nodes.find((importPath) =>
// eslint-disable-next-line no-prototype-builtins
importDecls.hasOwnProperty(importPath)
);
const decl = importDecls[importPath];
Expand Down

0 comments on commit a3ad30f

Please sign in to comment.