getBazelInfo() gets confused by Windows paths
See original GitHub issueThis line:
const [key, value] = line.split(":", 2);
Will fail on Windows because paths have a :
in them.
>bazel info
bazel-bin: C:/users/[REDACTED]/bazel-out/x64_windows-dbg/bin
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Debugger breakpoints do not respect file path rules by platform
Wait for a fix for getBazelInfo() gets confused by Windows paths vscode-bazel#176 (or fix it yourself); On Windows install vscode-bazel in ...
Read more >paths confused when linked file opened from another computer
We have Windows 10 computers running Excel 2010 to 2016. When files on one computer are opened from another, only the links to...
Read more >File path formats on Windows systems | Microsoft Learn
In this article, learn about file path formats on Windows systems, such as traditional DOS paths, DOS device paths, and universal naming ...
Read more >Maximum Path Length Limitation - Win32 apps | Microsoft Learn
In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined ......
Read more >Working with Alternate Paths during Backup - Win32 apps
The term alternate path, as used with VSS, should not be confused with the term alternate location mapping. Alternate paths are used only ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was confused at how this could possibly be the case, until I noticed this sentence in Mozilla’s documentation of
String.split
:I cannot imagine any scenario where that’s the behavior I would expect or want. 🤢 I’m happy to review a small PR that does the right thing here.
Not at this time.