mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Ruby: support long paths on Windows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user