Skip to content

Commit

Permalink
- Restore superfluous arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Dec 3, 2019
1 parent 5607f3a commit 2946ab3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/importType.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ function isRelativeToSibling(name) {
}

function typeTest(name, settings, path) {
if (isAbsolute(name)) { return 'absolute' }
if (isAbsolute(name, settings, path)) { return 'absolute' }
if (isBuiltIn(name, settings, path)) { return 'builtin' }
if (isInternalModule(name, settings, path)) { return 'internal' }
if (isExternalModule(name, settings, path)) { return 'external' }
if (isScoped(name, settings, path)) { return 'external' }
if (isRelativeToParent(name)) { return 'parent' }
if (isIndex(name)) { return 'index' }
if (isRelativeToSibling(name)) { return 'sibling' }
if (isRelativeToParent(name, settings, path)) { return 'parent' }
if (isIndex(name, settings, path)) { return 'index' }
if (isRelativeToSibling(name, settings, path)) { return 'sibling' }
return 'unknown'
}

Expand Down

0 comments on commit 2946ab3

Please sign in to comment.