Skip to content

Commit

Permalink
Add --typescript to ecu config
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Jul 21, 2022
1 parent a5c7267 commit 0b7650e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = {
options.testAppLocation && `"--test-app-location=${options.testAppLocation}"`,
options.testAppName && `"--test-app-name=${options.testAppName}"`,
options.releaseIt && `"--release-it"`,
options.typescript && `"--typescript"`,
]
.filter(Boolean)
.join(',\n ') +
Expand Down Expand Up @@ -168,9 +169,9 @@ module.exports = {
return files;
} else {
let ignoredFiles = ['__addonLocation__/tsconfig.json'];

return files.filter(
(filename) =>
!filename.match(/.*\.ts$/) && !ignoredFiles.includes(filename)
(filename) => !filename.match(/.*\.ts$/) && !ignoredFiles.includes(filename)
);
}
},
Expand Down

0 comments on commit 0b7650e

Please sign in to comment.