Explorar o código

meta: fix js2ts check

Antoine du Hamel hai 1 ano
pai
achega
ab0c656536
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      private/js2ts/index.mjs

+ 1 - 1
private/js2ts/index.mjs

@@ -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) {