This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #17178
This (temporarily) removes the command line interface to the feature added in #16845. As far as I can tell, that interface never quite worked correctly. In my testing, the
paths
specified in the given project file were not opened. I think there are actually multiple causes of this:project.replace
when the asynchronousopen-paths
message is received.The actual reason that I discovered this is while investigating #17178. macOS users are getting this error when trying to open files in Atom by double clicking them. I added some code to log out the path when that error occurs, and I'm seeing that sometimes when double clicking a file, Atom is getting invoked with a
project
flag set to some weird non-existent path like/sn_1_01235345
. I have no idea what causes that flag to get set./cc @matthewwithanm @philipfweiss It seemed like the command line
project
flag was not an important feature on your end; you mainly needed theProject.replace
API. Is that right?I think we can put back the
project
flag at some point, but for now I just need to get a hotfix out for #17178 and don't have time to fully backfill tests for this feature, think through how to integrate theproject
flag with the rest of the system, and avoid the bug described above.