mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
We can't read [0] on an empty StringRef or the StringRef itself asserts (this may crash in non-debug mode as an empty StringRef is not guaranteed to have a valid pointer). Instead, we can just check if the StringRef is not empty. Closes #502