Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make argument name more clear.
  • Loading branch information
sainthkh committed May 8, 2020
commit ff556689d4226a02dcbb9c8fb2e9ee7889167bfd
4 changes: 2 additions & 2 deletions lib/simple_tsify.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const isJson = (code) => {
// It means it should check types whenever spec file is changed
// and it slows down the test speed a lot.
// We skip this slow type-checking process by using transpileModule() api.
module.exports = function (b, opts) {
module.exports = function (filePath, opts) {
const chunks = []
const ext = path.extname(b)
const ext = path.extname(filePath)

return through(
(buf, enc, next) => {
Expand Down