Skip to content

Commit

Permalink
Use parsedPath.base instead of path
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Jan 10, 2018
1 parent 41c8e23 commit 52912a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ module.exports = path => {
parsedPath.name.slice(0, 1) !== `_` &&
parsedPath.name.slice(0, 9) !== `template-` &&
!tsDeclarationExtTest.test(parsedPath.base) &&
!isTestFile(path)
!isTestFile(parsedPath.base)
)
}

0 comments on commit 52912a5

Please sign in to comment.