File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,12 @@ fn find_oneview() -> Result<PathBuf> {
2929 for entry in fs:: read_dir ( & build_dir) ? {
3030 let entry = entry?;
3131 let path = entry. path ( ) ;
32- if path. is_dir ( ) && entry. file_name ( ) . to_string_lossy ( ) . starts_with ( "fastga-rs-" ) {
32+ if path. is_dir ( )
33+ && entry
34+ . file_name ( )
35+ . to_string_lossy ( )
36+ . starts_with ( "fastga-rs-" )
37+ {
3338 let oneview = path. join ( "out" ) . join ( "ONEview" ) ;
3439 if oneview. exists ( ) {
3540 return Ok ( oneview) ;
@@ -75,7 +80,7 @@ fn sha256sum_1aln_normalized(path: &Path) -> Result<String> {
7580
7681 let mut grep = Command :: new ( "grep" )
7782 . arg ( "-v" )
78- . arg ( "^[!<]" ) // Filter out both '!' (provenance) and '<' (path-containing headers)
83+ . arg ( "^[!<]" ) // Filter out both '!' (provenance) and '<' (path-containing headers)
7984 . stdin (
8085 oneview
8186 . stdout
You can’t perform that action at this time.
0 commit comments