Skip to content

Conversation

@agilgur5
Copy link
Collaborator

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 sense

    • per same conditional though, pluginOptions.tsconfig exists, so we can print that
  • fixes a test TODO/FIXME that had to workaround this bug as well

- per the conditional above this line, `file` is falsey, so printing it doesn't make sense
  - per same conditional though, `pluginOptions.tsconfig` exists, so we can print that

- fixes a test TODO/FIXME that had to workaround this bug as well
@agilgur5 agilgur5 added kind: bug Something isn't working properly scope: tests Tests could be improved. Or changes that only affect tests labels Jul 10, 2022
@agilgur5
Copy link
Collaborator Author

Tests are failing due to #377 ; the test for this change passes

@ezolenko ezolenko merged commit 76109fc into ezolenko:master Jul 12, 2022
@agilgur5 agilgur5 deleted the fix-missing-tsconfig-error branch July 2, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: bug Something isn't working properly scope: tests Tests could be improved. Or changes that only affect tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants