File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4545 name : Test
4646 needs : smoke
4747 strategy :
48+ fail-fast : false
4849 matrix :
4950 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
5051 rust : ["stable"]
Original file line number Diff line number Diff line change 66 test :
77 name : Test
88 strategy :
9+ fail-fast : false
910 matrix :
1011 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
1112 rust : ["stable", "beta"]
Original file line number Diff line number Diff line change @@ -26,8 +26,14 @@ fn load_partials_from_path(root: path::PathBuf) -> Result<Partials> {
2626 . expect ( "only UTF-8 characters supported in paths" )
2727 . to_owned ( ) ;
2828 trace ! ( "Loading snippet `{}`" , rel_path) ;
29- let content = files:: read_file ( file_path) ?;
30- source. add ( rel_path, content) ;
29+ match files:: read_file ( file_path) {
30+ Ok ( content) => {
31+ source. add ( rel_path, content) ;
32+ }
33+ Err ( err) => {
34+ warn ! ( "Ignoring snippet {}: {}" , rel_path, err) ;
35+ }
36+ }
3137 }
3238 Ok ( source)
3339}
You can’t perform that action at this time.
0 commit comments