File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,15 @@ impl Crate {
165165 . current_dir ( & self . path )
166166 . output ( )
167167 . unwrap_or_else ( |error| {
168- dbg ! ( error) ;
169- dbg ! ( & cargo_clippy_path) ;
170- dbg ! ( & self . path) ;
171- panic ! ( "something was not found?" )
168+ panic ! (
169+ "Encountered error:\n {:?}\n cargo_clippy_path: {}\n crate path:{}\n " ,
170+ error,
171+ & cargo_clippy_path. display( ) ,
172+ & self . path. display( )
173+ ) ;
172174 } ) ;
173175 let stdout = String :: from_utf8_lossy ( & all_output. stdout ) ;
174176 let output_lines = stdout. lines ( ) ;
175- //dbg!(&output_lines);
176177 let warnings: Vec < ClippyWarning > = output_lines
177178 . into_iter ( )
178179 // get all clippy warnings
@@ -229,7 +230,7 @@ fn read_crates() -> Vec<CrateSource> {
229230 if tk. versions . is_some ( ) && ( tk. git_url . is_some ( ) || tk. git_hash . is_some ( ) )
230231 || tk. git_hash . is_some ( ) != tk. git_url . is_some ( )
231232 {
232- dbg ! ( & tk) ;
233+ eprintln ! ( "tomlkrate: {:?}" , tk) ;
233234 if tk. git_hash . is_some ( ) != tk. git_url . is_some ( ) {
234235 panic ! ( "Encountered TomlCrate with only one of git_hash and git_url!" )
235236 }
You can’t perform that action at this time.
0 commit comments