You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error(`could not read ${tsconfigFilePath}`,error);
The exception is logged, but not rethrown. So the process exit successfully, which means that it's hard to use the tool in e.g. postinstall scripts or in CI.
In the example below, I manually deleted ./tsconfig.json and ran the tool as update-ts-references && echo ok - it printed "ok".
The text was updated successfully, but these errors were encountered:
Hi @dimikot,
if you or your teammates deleting the tsconfig.json from the root then I think my tool should be the least problem for you. Because your ts check isn't working anymore 😄
Anyway nice catch for improvement! I will add that check for the root tsconfig 👍🏻
Here:
update-ts-references/src/update-ts-references.js
Line 219 in 4a7a93d
The exception is logged, but not rethrown. So the process exit successfully, which means that it's hard to use the tool in e.g. postinstall scripts or in CI.
In the example below, I manually deleted ./tsconfig.json and ran the tool as
update-ts-references && echo ok
- it printed "ok".The text was updated successfully, but these errors were encountered: