-
Notifications
You must be signed in to change notification settings - Fork 13k
Don't recurse when the answer doesn't change to 'true', just continue traversal #39934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a3f1319
to
73ede59
Compare
@typescript-bot pack this |
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 73ede59. You can monitor the build here. |
@typescript-bot pack this |
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at ce549af. You can monitor the build here. |
Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build. |
|
Looks like the assertion keeps getting hit. I'm not sure if it should ever be possible for the value to remain as |
@@ -3775,24 +3775,28 @@ namespace ts.server { | |||
getPackageJsonsVisibleToFile(fileName: string, rootDir?: string): readonly PackageJsonInfo[] { | |||
const packageJsonCache = this.packageJsonCache; | |||
const watchPackageJsonFile = this.watchPackageJsonFile.bind(this); | |||
const toPath = this.toPath.bind(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was actually turning into any
.
I have a fix at #39937 |
I dunno what I'm doing!
Maybe fixes #39923.