Closed agilgur5 closed 2 years ago
Improve the error message when a tsconfig path doesn't have a file. The error message should say the path passed in, not 'undefined'
tsconfig
'undefined'
per the conditional above this line, file is falsey, so printing it doesn't make sense
file
pluginOptions.tsconfig
fixes a test TODO/FIXME that had to workaround this bug as well
TODO
FIXME
Tests are failing due to #377 ; the test for this change passes
Summary
Improve the error message when a
tsconfig
path doesn't have a file. The error message should say the path passed in, not'undefined'
Details
per the conditional above this line,
file
is falsey, so printing it doesn't make sensepluginOptions.tsconfig
exists, so we can print thatfixes a test
TODO
/FIXME
that had to workaround this bug as well