@@ -6,15 +6,15 @@ use thiserror::Error;
66#[ derive( Error , Debug ) ]
77pub enum Error {
88 // IO
9- #[ error( "Failed to open file at {0}: {1} " ) ]
9+ #[ error( "Failed to open file at {0}" ) ]
1010 OpenFile ( PathBuf , #[ source] std:: io:: Error ) ,
11- #[ error( "Failed to create file at {0}: {1} " ) ]
11+ #[ error( "Failed to create file at {0}" ) ]
1212 CreateFile ( PathBuf , #[ source] std:: io:: Error ) ,
13- #[ error( "Failed to create dir at {0}: {1 }" ) ]
13+ #[ error( "Failed to create dir(s) at {0}" ) ]
1414 CreateDir ( PathBuf , #[ source] std:: io:: Error ) ,
15- #[ error( "Failed to rename {0} to {1}: {2} " ) ]
15+ #[ error( "Failed to rename {0} to {1}" ) ]
1616 Rename ( PathBuf , PathBuf , #[ source] std:: io:: Error ) ,
17- #[ error( "Failed to write to {0}: {1} " ) ]
17+ #[ error( "Failed to write to {0}" ) ]
1818 Write ( PathBuf , #[ source] std:: io:: Error ) ,
1919
2020 #[ error( "Path {0} contained invalid UTF8" ) ]
@@ -24,7 +24,7 @@ pub enum Error {
2424 PluginNotFound ( PathBuf ) ,
2525 #[ error( "No project directory found in archive during unzip" ) ]
2626 NoProjectDirInZip ,
27- #[ error( "Running command '{0}' failed: {1} " ) ]
27+ #[ error( "Running command '{0}' failed" ) ]
2828 CommandFailed ( & ' static str , #[ source] std:: io:: Error ) ,
2929
3030 #[ error( "Failed to spawn command: {0}" ) ]
0 commit comments