Ruby: support long paths on Windows

This commit is contained in:
Arthur Baars
2023-03-10 19:13:09 +01:00
parent 50ff82fe51
commit 4bfcc31ef0
2 changed files with 54 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ pub fn extract(
path: &Path,
source: &[u8],
ranges: &[Range],
) -> std::io::Result<()> {
) -> () {
let path_str = format!("{}", path.display());
let span = tracing::span!(
tracing::Level::TRACE,
@@ -150,7 +150,7 @@ pub fn extract(
traverse(&tree, &mut visitor);
parser.reset();
Ok(())
()
}
/// Normalizes the path according the common CodeQL specification. Assumes that