File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,15 @@ impl Crate {
165
165
. current_dir ( & self . path )
166
166
. output ( )
167
167
. 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
+ ) ;
172
174
} ) ;
173
175
let stdout = String :: from_utf8_lossy ( & all_output. stdout ) ;
174
176
let output_lines = stdout. lines ( ) ;
175
- //dbg!(&output_lines);
176
177
let warnings: Vec < ClippyWarning > = output_lines
177
178
. into_iter ( )
178
179
// get all clippy warnings
@@ -229,7 +230,7 @@ fn read_crates() -> Vec<CrateSource> {
229
230
if tk. versions . is_some ( ) && ( tk. git_url . is_some ( ) || tk. git_hash . is_some ( ) )
230
231
|| tk. git_hash . is_some ( ) != tk. git_url . is_some ( )
231
232
{
232
- dbg ! ( & tk) ;
233
+ eprintln ! ( "tomlkrate: {:?}" , tk) ;
233
234
if tk. git_hash . is_some ( ) != tk. git_url . is_some ( ) {
234
235
panic ! ( "Encountered TomlCrate with only one of git_hash and git_url!" )
235
236
}
You can’t perform that action at this time.
0 commit comments