Skip to content

Commit

Permalink
meta: fix js2ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Oct 17, 2023
1 parent 773c8cb commit ab0c656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/js2ts/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const references = Object.keys(packageJSON.dependencies || {})

const depsNotYetConvertedToTS = references.filter(
(ref) =>
!existsSync(new URL(`${ref.path.slice(1)}/tsconfig.json`, packageRoot)),
!existsSync(new URL(`${ref.path}/tsconfig.json`, packageRoot)),
)

if (depsNotYetConvertedToTS.length) {
Expand Down

0 comments on commit ab0c656

Please sign in to comment.