Skip to content

Commit

Permalink
Merge pull request #48 from GiovanniCardamone/dev
Browse files Browse the repository at this point in the history
release [1.0.14]
  • Loading branch information
GiovanniCardamone authored Aug 27, 2020
2 parents 9059d8e + b336400 commit 8daa38a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-autoroutes",
"version": "1.0.13",
"version": "1.0.14",
"description": "Map directory structure to routes",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function isAcceptableFile(file: string, stat: fs.Stats): boolean {
return (
!path.basename(file).startsWith('.') &&
!path.basename(file).startsWith('_') &&
(file.endsWith('.js') || file.endsWith('.ts')) &&
!file.endsWith('.map') &&
!file.endsWith('.test.js') &&
!file.endsWith('.test.ts') &&
stat.isFile()
Expand Down

0 comments on commit 8daa38a

Please sign in to comment.